variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: frost | code: ref | fields: value, qc, type, lat
Sensor: evaporation | fields: ts, reading, lon, depth
Task: Retrieve reading from frost with value above the MAX(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050500 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: type, reading, ts, unit
Sensor: soil_moisture | fields: type, value, ts, level
Task: Get level from rainfall where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050501 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: level, reading, value, type
Sensor: lightning | fields: ts, type, reading, depth
Task: Retrieve value from pressure with reading above the SUM(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050502 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: value, ts, type, lat
Sensor: dew_point | fields: depth, lat, level, unit
Task: Get lat from drought_index where depth appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050503 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: value, qc, lon, type
Sensor: wind_speed | fields: depth, type, reading, lon
Task: Fetch reading from evaporation where depth exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050504 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: level, reading, qc, type
Sensor: dew_point | fields: ts, lon, depth, reading
Task: Get reading from turbidity where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050505 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: level, reading, ts, qc
Sensor: drought_index | fields: reading, lon, level, unit
Task: Retrieve lat from turbidity with depth above the SUM(depth) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050506 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lat, unit, lon, level
Sensor: uv_index | fields: value, level, reading, depth
Task: Retrieve level from visibility whose unit is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050507 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, type, level, lon
Sensor: rainfall | fields: qc, value, level, reading
Task: Get lat from air_quality where depth exceeds the total depth from rainfall for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050508 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, ts, depth, lat
Sensor: soil_moisture | fields: level, value, depth, lat
Task: Retrieve lon from drought_index whose ts is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050509 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, lon, level, unit
Sensor: turbidity | fields: level, lon, value, qc
Task: Retrieve depth from soil_moisture that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050510 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, level, lon, ts
Sensor: rainfall | fields: value, lon, reading, ts
Task: Get depth from cloud_cover where qc appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050511 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, qc, lon, reading
Sensor: frost | fields: ts, type, value, qc
Task: Fetch lat from soil_moisture where value is greater than the maximum of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050512 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, depth, qc, lon
Sensor: rainfall | fields: type, unit, lon, lat
Task: Get level from soil_moisture where reading exceeds the average reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050513 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: unit, level, lon, reading
Sensor: soil_moisture | fields: level, reading, lat, ts
Task: Retrieve value from humidity that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050514 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: value, level, type, depth
Sensor: turbidity | fields: lat, level, depth, value
Task: Fetch value from uv_index where value is greater than the minimum of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050515 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: level, type, qc, depth
Sensor: soil_moisture | fields: depth, lon, unit, value
Task: Fetch lat from sunlight where value is greater than the minimum of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050516 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: reading, type, ts, level
Sensor: temperature | fields: ts, type, value, lon
Task: Fetch lat from drought_index where qc exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050517 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, value, qc, lon
Sensor: lightning | fields: qc, depth, type, unit
Task: Get depth from temperature where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050518 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, unit, reading, lat
Sensor: visibility | fields: level, qc, type, depth
Task: Retrieve reading from dew_point with value above the SUM(depth) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050519 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: value, type, lat, depth
Sensor: temperature | fields: reading, ts, qc, lon
Task: Retrieve level from snow_depth that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050520 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: ts, level, value, reading
Sensor: uv_index | fields: unit, lon, ts, level
Task: Retrieve reading from humidity that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050521 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: value, qc, lat, level
Sensor: soil_moisture | fields: depth, level, reading, lon
Task: Get depth from air_quality where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050522 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: level, unit, type, lat
Sensor: sunlight | fields: qc, lat, depth, lon
Task: Fetch lon from drought_index where reading is greater than the count of of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050523 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lon, level, lat, reading
Sensor: humidity | fields: qc, depth, value, unit
Task: Retrieve level from pressure with depth above the MIN(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050524 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, lon, qc, value
Sensor: drought_index | fields: ts, depth, type, qc
Task: Fetch lat from snow_depth that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050525 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: level, type, unit, value
Sensor: frost | fields: reading, level, value, depth
Task: Fetch depth from snow_depth where unit exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050526 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lat, depth, unit, type
Sensor: soil_moisture | fields: depth, lat, lon, qc
Task: Retrieve depth from dew_point with depth above the SUM(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050527 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lon, lat, unit, reading
Sensor: visibility | fields: reading, type, unit, depth
Task: Fetch level from turbidity that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050528 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: unit, value, lon, lat
Sensor: evaporation | fields: value, qc, lat, reading
Task: Retrieve reading from rainfall that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050529 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: depth, reading, lat, value
Sensor: temperature | fields: type, level, unit, value
Task: Fetch lat from rainfall that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050530 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, reading, unit, ts
Sensor: lightning | fields: type, ts, qc, depth
Task: Retrieve lon from soil_moisture with reading above the COUNT(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050531 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: depth, qc, type, unit
Sensor: frost | fields: unit, ts, lat, depth
Task: Retrieve level from evaporation that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050532 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, value, ts, depth
Sensor: evaporation | fields: depth, reading, lon, level
Task: Fetch reading from cloud_cover that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050533 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: qc, reading, depth, unit
Sensor: soil_moisture | fields: reading, unit, lat, type
Task: Retrieve lat from temperature whose qc is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050534 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: value, lat, type, depth
Sensor: air_quality | fields: lon, lat, value, unit
Task: Retrieve level from visibility that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050535 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: level, type, unit, lat
Sensor: drought_index | fields: unit, qc, depth, lat
Task: Get lon from lightning where value exceeds the average depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050536 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: reading, depth, value, type
Sensor: pressure | fields: type, reading, depth, level
Task: Retrieve depth from rainfall whose depth is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050537 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lat, value, type, level
Sensor: wind_speed | fields: qc, level, ts, lat
Task: Fetch level from air_quality where reading is greater than the maximum of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050538 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lon, type, depth, ts
Sensor: rainfall | fields: value, type, level, reading
Task: Fetch level from temperature where reading is greater than the minimum of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050539 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: ts, qc, lat, reading
Sensor: cloud_cover | fields: lon, value, ts, depth
Task: Retrieve depth from uv_index with depth above the MIN(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050540 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: qc, lat, value, lon
Sensor: sunlight | fields: ts, level, reading, type
Task: Get lon from humidity where type appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050541 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: value, depth, ts, reading
Sensor: visibility | fields: reading, lat, ts, level
Task: Fetch level from uv_index where reading is greater than the total of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050542 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: unit, lon, ts, level
Sensor: visibility | fields: value, unit, lat, ts
Task: Retrieve value from drought_index that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050543 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, level, unit, value
Sensor: cloud_cover | fields: reading, lat, lon, qc
Task: Retrieve value from temperature whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050544 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: reading, level, qc, lat
Sensor: drought_index | fields: depth, lon, ts, reading
Task: Fetch lon from pressure that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050545 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, reading, unit, type
Sensor: cloud_cover | fields: lon, lat, level, type
Task: Retrieve value from wind_speed that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050546 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, lat, unit, value
Sensor: visibility | fields: type, reading, level, ts
Task: Get reading from evaporation where value exceeds the maximum reading from visibility for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050547 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: level, lat, value, depth
Sensor: uv_index | fields: lon, type, depth, value
Task: Get value from dew_point where reading exceeds the maximum depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050548 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: reading, type, value, qc
Sensor: humidity | fields: type, level, lon, value
Task: Fetch depth from uv_index where type exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050549 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, lat, value, reading
Sensor: soil_moisture | fields: ts, type, level, unit
Task: Get level from drought_index where value exceeds the maximum value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050550 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lon, level, depth, reading
Sensor: visibility | fields: lat, qc, ts, lon
Task: Retrieve level from temperature with reading above the AVG(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050551 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, lon, ts, qc
Sensor: dew_point | fields: lat, qc, reading, level
Task: Retrieve reading from cloud_cover whose type is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050552 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: depth, type, qc, lat
Sensor: soil_moisture | fields: value, unit, ts, type
Task: Retrieve lat from air_quality with reading above the COUNT(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050553 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: qc, ts, lat, level
Sensor: frost | fields: lon, depth, level, qc
Task: Fetch depth from lightning that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050554 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: depth, lon, unit, type
Sensor: sunlight | fields: lat, reading, depth, type
Task: Retrieve lon from drought_index with value above the MAX(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050555 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: unit, lat, value, depth
Sensor: pressure | fields: lon, value, reading, type
Task: Retrieve lon from humidity that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050556 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: ts, value, qc, lat
Sensor: dew_point | fields: lat, ts, reading, lon
Task: Fetch level from visibility where value is greater than the count of of reading in dew_point for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050557 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lon, qc, type, level
Sensor: snow_depth | fields: lat, qc, unit, depth
Task: Retrieve level from visibility whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050558 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, ts, depth, lat
Sensor: lightning | fields: reading, lon, depth, qc
Task: Get depth from frost where reading exceeds the average reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050559 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: ts, unit, reading, type
Sensor: uv_index | fields: unit, lat, lon, level
Task: Fetch value from frost where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050560 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: unit, reading, lat, ts
Sensor: sunlight | fields: ts, type, unit, level
Task: Retrieve value from evaporation that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050561 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lon, level, value, type
Sensor: soil_moisture | fields: type, unit, lat, lon
Task: Retrieve level from sunlight whose unit is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050562 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, ts, lon, lat
Sensor: frost | fields: depth, unit, reading, ts
Task: Retrieve reading from visibility whose type is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050563 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: level, lat, type, unit
Sensor: visibility | fields: value, ts, reading, qc
Task: Retrieve reading from drought_index that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050564 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, ts, lon, type
Sensor: frost | fields: ts, type, level, depth
Task: Get value from lightning where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050565 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: reading, qc, value, unit
Sensor: lightning | fields: qc, lon, reading, depth
Task: Get lon from rainfall where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050566 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, qc, unit, ts
Sensor: uv_index | fields: depth, qc, reading, lat
Task: Get depth from rainfall where depth exceeds the count of reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050567 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: unit, ts, lat, level
Sensor: uv_index | fields: depth, lat, ts, value
Task: Get lon from air_quality where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050568 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: lon, lat, qc, depth
Sensor: air_quality | fields: level, type, ts, qc
Task: Get level from rainfall where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050569 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: level, lat, unit, type
Sensor: humidity | fields: value, type, depth, qc
Task: Fetch reading from visibility where reading is greater than the total of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050570 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: value, unit, lon, lat
Sensor: soil_moisture | fields: depth, level, type, ts
Task: Get depth from drought_index where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050571 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: type, depth, lat, value
Sensor: evaporation | fields: ts, depth, lon, unit
Task: Retrieve depth from wind_speed with value above the COUNT(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050572 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, value, reading, depth
Sensor: humidity | fields: depth, qc, unit, reading
Task: Get level from uv_index where qc appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050573 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: depth, lat, level, lon
Sensor: dew_point | fields: lat, type, unit, depth
Task: Get value from rainfall where value exceeds the average depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050574 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: type, lat, qc, level
Sensor: rainfall | fields: ts, unit, lat, lon
Task: Retrieve lon from drought_index whose qc is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050575 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: depth, ts, lat, qc
Sensor: soil_moisture | fields: lat, type, unit, depth
Task: Get depth from air_quality where qc appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050576 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, qc, unit, reading
Sensor: wind_speed | fields: value, unit, lon, lat
Task: Get reading from soil_moisture where value exceeds the maximum depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050577 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: type, lon, value, depth
Sensor: visibility | fields: unit, qc, reading, depth
Task: Get value from air_quality where qc appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050578 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, type, value, ts
Sensor: turbidity | fields: lon, unit, ts, depth
Task: Retrieve depth from pressure with depth above the SUM(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050579 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lon, reading, qc, depth
Sensor: turbidity | fields: ts, reading, lat, qc
Task: Get level from uv_index where unit appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050580 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: unit, type, lat, qc
Sensor: drought_index | fields: depth, qc, value, type
Task: Fetch lat from frost where depth is greater than the maximum of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050581 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: unit, ts, lat, lon
Sensor: cloud_cover | fields: value, lon, type, reading
Task: Fetch level from lightning where value is greater than the maximum of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050582 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: value, lon, ts, reading
Sensor: dew_point | fields: lon, depth, lat, ts
Task: Get value from rainfall where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050583 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: ts, type, qc, reading
Sensor: wind_speed | fields: ts, type, unit, level
Task: Retrieve depth from uv_index whose qc is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050584 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, ts, unit, lat
Sensor: humidity | fields: lon, qc, lat, reading
Task: Get value from rainfall where value exceeds the maximum value from humidity for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050585 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, lat, ts, qc
Sensor: drought_index | fields: type, qc, lat, unit
Task: Fetch reading from snow_depth where depth exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050586 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, qc, reading, value
Sensor: turbidity | fields: lat, level, depth, ts
Task: Fetch reading from snow_depth where reading is greater than the average of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050587 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, qc, reading, depth
Sensor: humidity | fields: reading, depth, lat, unit
Task: Retrieve reading from snow_depth whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050588 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: unit, lon, qc, value
Sensor: visibility | fields: type, depth, lon, ts
Task: Get depth from frost where type appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050589 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: value, lat, depth, type
Sensor: dew_point | fields: unit, lat, lon, type
Task: Fetch level from air_quality where depth exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050590 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: level, reading, qc, type
Sensor: air_quality | fields: unit, lon, reading, lat
Task: Retrieve reading from uv_index whose depth is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050591 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: ts, qc, unit, depth
Sensor: cloud_cover | fields: unit, ts, depth, lon
Task: Fetch reading from rainfall that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050592 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: ts, unit, reading, type
Sensor: wind_speed | fields: type, ts, level, lat
Task: Get reading from air_quality where unit appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050593 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, qc, type, level
Sensor: sunlight | fields: value, ts, reading, level
Task: Retrieve value from wind_speed that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050594 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, reading, type, value
Sensor: frost | fields: lat, type, ts, unit
Task: Fetch lon from dew_point where depth is greater than the total of value in frost for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050595 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, lon, type, value
Sensor: visibility | fields: value, qc, level, lat
Task: Get value from evaporation where type appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050596 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: unit, depth, qc, lat
Sensor: lightning | fields: reading, lat, unit, depth
Task: Fetch depth from visibility that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050597 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: value, lat, level, type
Sensor: dew_point | fields: lat, qc, type, unit
Task: Fetch reading from uv_index that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050598 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: depth, type, qc, lat
Sensor: uv_index | fields: value, level, type, lat
Task: Get value from humidity where depth appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.