variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: frost | code: hub | fields: ts, unit, depth, level
Sensor: cloud_cover | fields: depth, lon, level, qc
Task: Retrieve lat from frost that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009900 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: type, value, level, reading
Sensor: temperature | fields: lon, value, ts, depth
Task: Fetch depth from snow_depth where type exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009901 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: level, type, unit, ts
Sensor: wind_speed | fields: value, qc, unit, lon
Task: Fetch level from evaporation that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009902 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, unit, lat, ts
Sensor: sunlight | fields: depth, ts, unit, qc
Task: Fetch reading from wind_speed where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009903 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: value, lat, lon, depth
Sensor: evaporation | fields: reading, level, unit, type
Task: Retrieve value from visibility with value above the AVG(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009904 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: value, unit, depth, reading
Sensor: snow_depth | fields: lat, lon, ts, depth
Task: Fetch reading from sunlight that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009905 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: depth, lat, level, type
Sensor: temperature | fields: lat, ts, unit, lon
Task: Get level from rainfall where type appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009906 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, level, unit, lat
Sensor: drought_index | fields: qc, depth, value, lat
Task: Fetch value from soil_moisture where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009907 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: reading, qc, level, unit
Sensor: frost | fields: unit, depth, lat, qc
Task: Fetch level from evaporation where value is greater than the minimum of value in frost for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009908 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: value, lon, ts, reading
Sensor: soil_moisture | fields: reading, lon, lat, unit
Task: Get value from pressure where reading exceeds the maximum value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009909 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: value, type, lon, depth
Sensor: wind_speed | fields: reading, lon, type, depth
Task: Fetch depth from air_quality where value is greater than the average of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009910 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: qc, value, lon, type
Sensor: drought_index | fields: qc, ts, reading, lat
Task: Fetch lon from uv_index that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009911 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: type, qc, lat, ts
Sensor: evaporation | fields: reading, qc, value, type
Task: Fetch level from turbidity where depth exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009912 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, reading, value, qc
Sensor: cloud_cover | fields: type, lon, level, unit
Task: Fetch level from snow_depth that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009913 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, level, reading, lon
Sensor: soil_moisture | fields: qc, type, unit, lat
Task: Get lat from cloud_cover where reading exceeds the minimum value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009914 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: qc, value, depth, unit
Sensor: temperature | fields: qc, ts, depth, value
Task: Retrieve level from rainfall that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009915 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, type, depth, level
Sensor: cloud_cover | fields: level, depth, lon, value
Task: Get lat from wind_speed where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009916 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: lat, ts, unit, lon
Sensor: soil_moisture | fields: lat, reading, qc, depth
Task: Fetch reading from temperature that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009917 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lon, value, qc, ts
Sensor: pressure | fields: reading, ts, unit, type
Task: Get level from lightning where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009918 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: type, reading, qc, lat
Sensor: evaporation | fields: unit, type, ts, lat
Task: Retrieve lon from sunlight that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009919 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, depth, qc, reading
Sensor: temperature | fields: qc, value, depth, level
Task: Retrieve depth from humidity with value above the MAX(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009920 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, ts, unit, level
Sensor: rainfall | fields: unit, reading, ts, level
Task: Retrieve reading from evaporation with depth above the AVG(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009921 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, value, unit, reading
Sensor: dew_point | fields: ts, value, reading, depth
Task: Fetch lon from cloud_cover where qc exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009922 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: reading, value, lat, qc
Sensor: turbidity | fields: lon, depth, qc, level
Task: Get lon from dew_point where reading exceeds the average depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009923 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, depth, ts, unit
Sensor: humidity | fields: reading, depth, qc, type
Task: Get reading from soil_moisture where depth exceeds the minimum reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009924 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: value, reading, ts, type
Sensor: humidity | fields: depth, lon, level, qc
Task: Retrieve value from drought_index that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009925 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, level, ts, depth
Sensor: dew_point | fields: value, lon, ts, depth
Task: Get depth from lightning where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009926 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: reading, lat, type, value
Sensor: wind_speed | fields: ts, level, value, depth
Task: Retrieve lat from turbidity whose depth is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009927 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: reading, type, lon, depth
Sensor: rainfall | fields: depth, lat, lon, ts
Task: Retrieve lat from dew_point that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009928 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, lat, unit, level
Sensor: rainfall | fields: reading, lon, ts, qc
Task: Fetch reading from wind_speed where reading is greater than the average of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009929 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: unit, type, value, level
Sensor: humidity | fields: type, lon, reading, unit
Task: Retrieve depth from dew_point whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009930 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, lon, unit, depth
Sensor: temperature | fields: lat, depth, lon, unit
Task: Get reading from soil_moisture where value exceeds the total reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009931 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, lon, type, value
Sensor: rainfall | fields: qc, type, level, unit
Task: Get value from cloud_cover where depth appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009932 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: level, type, reading, unit
Sensor: wind_speed | fields: ts, level, reading, qc
Task: Get lat from turbidity where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009933 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: qc, lat, level, value
Sensor: pressure | fields: type, depth, unit, reading
Task: Get lon from turbidity where qc appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009934 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lon, qc, type, ts
Sensor: uv_index | fields: unit, value, qc, depth
Task: Retrieve level from rainfall whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009935 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: type, lat, depth, ts
Sensor: sunlight | fields: reading, lon, depth, ts
Task: Fetch lon from visibility that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009936 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: reading, level, ts, depth
Sensor: uv_index | fields: value, qc, unit, reading
Task: Get lat from rainfall where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009937 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: reading, qc, type, value
Sensor: frost | fields: ts, unit, depth, lon
Task: Get lat from dew_point where reading exceeds the average value from frost for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009938 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: type, depth, ts, level
Sensor: air_quality | fields: type, value, lon, ts
Task: Fetch level from turbidity where depth is greater than the maximum of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009939 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lon, lat, level, depth
Sensor: rainfall | fields: lat, depth, unit, value
Task: Fetch value from air_quality where depth exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009940 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, lon, reading, lat
Sensor: evaporation | fields: ts, lat, depth, unit
Task: Fetch lon from snow_depth where depth exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009941 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, lat, level, depth
Sensor: soil_moisture | fields: depth, reading, ts, lat
Task: Fetch lon from cloud_cover where value is greater than the total of value in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009942 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: ts, lon, type, unit
Sensor: turbidity | fields: lon, value, reading, depth
Task: Get reading from rainfall where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009943 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: type, qc, level, ts
Sensor: snow_depth | fields: depth, qc, level, type
Task: Fetch depth from uv_index where reading is greater than the count of of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009944 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: reading, ts, qc, lat
Sensor: humidity | fields: reading, depth, qc, level
Task: Fetch level from dew_point where depth is greater than the total of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009945 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: depth, qc, type, lat
Sensor: evaporation | fields: ts, type, qc, level
Task: Retrieve reading from humidity that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009946 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, lat, ts, type
Sensor: visibility | fields: type, ts, depth, qc
Task: Fetch depth from soil_moisture where value is greater than the maximum of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009947 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: value, type, lat, depth
Sensor: cloud_cover | fields: type, unit, reading, value
Task: Fetch depth from sunlight that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009948 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, ts, value, qc
Sensor: humidity | fields: ts, level, lat, lon
Task: Get value from soil_moisture where depth exceeds the maximum reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009949 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, lat, reading, level
Sensor: turbidity | fields: lat, value, lon, ts
Task: Retrieve lon from wind_speed whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009950 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: depth, level, reading, lat
Sensor: pressure | fields: ts, qc, lon, value
Task: Retrieve depth from lightning with value above the MIN(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009951 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: qc, unit, type, level
Sensor: wind_speed | fields: value, lon, lat, reading
Task: Retrieve level from lightning whose ts is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009952 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: depth, reading, level, value
Sensor: sunlight | fields: qc, unit, ts, depth
Task: Get lon from frost where reading exceeds the count of depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009953 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: lon, ts, qc, level
Sensor: visibility | fields: lat, unit, value, qc
Task: Fetch lon from temperature where unit exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009954 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, ts, depth, unit
Sensor: lightning | fields: ts, unit, type, reading
Task: Get value from air_quality where qc appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009955 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: type, level, qc, value
Sensor: air_quality | fields: reading, lat, unit, type
Task: Retrieve lat from turbidity whose depth is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009956 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: qc, value, lat, level
Sensor: frost | fields: value, level, qc, lat
Task: Get lat from turbidity where ts appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009957 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, depth, lat, unit
Sensor: evaporation | fields: ts, qc, depth, value
Task: Fetch lon from cloud_cover where unit exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009958 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: unit, lon, ts, qc
Sensor: lightning | fields: depth, ts, value, qc
Task: Retrieve reading from pressure whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009959 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: level, qc, lon, ts
Sensor: pressure | fields: ts, unit, type, qc
Task: Get level from sunlight where type appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009960 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: lat, qc, depth, level
Sensor: evaporation | fields: type, lat, unit, reading
Task: Fetch lat from rainfall where qc exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009961 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, qc, type, depth
Sensor: wind_speed | fields: ts, unit, lon, depth
Task: Fetch reading from evaporation that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009962 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: unit, qc, type, lat
Sensor: uv_index | fields: depth, reading, level, type
Task: Get lon from lightning where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009963 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: ts, reading, depth, level
Sensor: uv_index | fields: lat, value, lon, level
Task: Get value from turbidity where qc appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009964 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lat, qc, unit, level
Sensor: drought_index | fields: ts, level, depth, value
Task: Retrieve level from rainfall that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009965 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: type, value, depth, reading
Sensor: turbidity | fields: type, level, lat, unit
Task: Fetch reading from snow_depth where qc exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009966 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: level, type, qc, lat
Sensor: visibility | fields: unit, ts, lat, lon
Task: Fetch value from air_quality that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
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",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009967 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, qc, ts, lon
Sensor: uv_index | fields: qc, lat, type, depth
Task: Fetch reading from cloud_cover where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009968 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lon, depth, qc, value
Sensor: air_quality | fields: lat, ts, type, qc
Task: Retrieve lat from humidity whose depth is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009969 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: ts, qc, lat, type
Sensor: snow_depth | fields: reading, ts, lon, value
Task: Retrieve depth from visibility that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009970 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: type, value, reading, ts
Sensor: humidity | fields: qc, value, type, unit
Task: Retrieve value from dew_point whose ts is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009971 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: depth, level, unit, reading
Sensor: evaporation | fields: unit, value, qc, ts
Task: Get lat from dew_point where depth exceeds the maximum reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009972 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: ts, reading, lon, type
Sensor: rainfall | fields: depth, level, lat, lon
Task: Get depth from humidity where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009973 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: reading, unit, depth, lon
Sensor: air_quality | fields: type, depth, reading, lon
Task: Retrieve depth from uv_index whose ts is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009974 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: unit, qc, type, lon
Sensor: frost | fields: unit, value, lat, lon
Task: Fetch lat from lightning where depth exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009975 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: value, reading, lat, type
Sensor: evaporation | fields: value, lat, reading, type
Task: Retrieve lon from lightning that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009976 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: depth, unit, type, lat
Sensor: evaporation | fields: lat, type, lon, unit
Task: Fetch value from rainfall where reading is greater than the average of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009977 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, reading, qc, type
Sensor: dew_point | fields: lon, type, unit, reading
Task: Get value from cloud_cover where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009978 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: ts, lon, type, qc
Sensor: dew_point | fields: unit, ts, value, level
Task: Retrieve value from humidity with depth above the MIN(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009979 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: qc, type, lat, unit
Sensor: lightning | fields: qc, reading, lat, type
Task: Get value from sunlight where reading exceeds the minimum reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009980 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: ts, qc, level, type
Sensor: lightning | fields: lon, qc, lat, reading
Task: Retrieve depth from turbidity whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009981 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, reading, depth, unit
Sensor: dew_point | fields: qc, unit, reading, type
Task: Retrieve depth from cloud_cover whose depth is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009982 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: ts, qc, unit, value
Sensor: temperature | fields: qc, value, type, lon
Task: Get value from evaporation where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009983 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: ts, lon, unit, lat
Sensor: wind_speed | fields: type, unit, lon, depth
Task: Fetch reading from dew_point where depth is greater than the average of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009984 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, qc, level, type
Sensor: humidity | fields: reading, qc, lat, type
Task: Retrieve value from wind_speed whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009985 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, ts, value, type
Sensor: cloud_cover | fields: lat, unit, level, lon
Task: Get reading from pressure where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009986 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: ts, level, value, depth
Sensor: wind_speed | fields: reading, value, level, lat
Task: Fetch level from frost where ts exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009987 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, value, qc, lon
Sensor: temperature | fields: unit, lat, ts, type
Task: Fetch lat from soil_moisture where ts exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009988 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, reading, qc, value
Sensor: temperature | fields: reading, type, level, qc
Task: Get lat from snow_depth where reading exceeds the count of depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009989 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, reading, type, value
Sensor: humidity | fields: qc, type, level, reading
Task: Get lat from turbidity where depth appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009990 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: value, qc, reading, type
Sensor: temperature | fields: ts, type, qc, level
Task: Retrieve value from humidity with value above the AVG(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009991 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: value, level, lon, reading
Sensor: temperature | fields: depth, lat, level, value
Task: Get lat from sunlight where ts appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009992 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: depth, ts, qc, lat
Sensor: turbidity | fields: value, lat, ts, reading
Task: Fetch reading from sunlight that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009993 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lon, reading, lat, type
Sensor: dew_point | fields: value, unit, lat, reading
Task: Get reading from pressure where depth exceeds the total reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009994 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: type, unit, level, lon
Sensor: lightning | fields: qc, unit, ts, lon
Task: Retrieve depth from uv_index that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009995 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: depth, ts, unit, lon
Sensor: wind_speed | fields: unit, level, value, qc
Task: Get level from humidity where ts appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009996 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, type, level, lon
Sensor: turbidity | fields: qc, reading, level, ts
Task: Retrieve value from wind_speed whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009997 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, value, qc, type
Sensor: frost | fields: lon, type, level, qc
Task: Fetch lat from soil_moisture that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009998 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, unit, type, qc
Sensor: turbidity | fields: ts, reading, unit, value
Task: Fetch value from wind_speed where reading is greater than the minimum of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.