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: drought_index | code: clr | fields: level, value, unit, reading
Sensor: rainfall | fields: qc, type, unit, ts
Task: Get depth from drought_index where reading exceeds the minimum depth from rainfall for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001400 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, type, lon, level
Sensor: temperature | fields: unit, lat, ts, value
Task: Get lat from uv_index where depth exceeds the maximum depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001401 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: value, unit, qc, type
Sensor: uv_index | fields: qc, type, reading, value
Task: Fetch depth from visibility that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001402 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, reading, ts, type
Sensor: air_quality | fields: depth, reading, level, qc
Task: Retrieve value from turbidity with depth above the AVG(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001403 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: type, lon, depth, value
Sensor: wind_speed | fields: depth, lon, reading, type
Task: Retrieve level from drought_index with reading above the COUNT(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001404 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: level, qc, reading, lat
Sensor: lightning | fields: ts, reading, value, type
Task: Retrieve lon from pressure with reading above the COUNT(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001405 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: lon, qc, level, ts
Sensor: snow_depth | fields: ts, level, unit, depth
Task: Fetch value from frost where depth is greater than the minimum of reading in snow_depth for matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001406 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lon, unit, level, depth
Sensor: evaporation | fields: type, lon, level, ts
Task: Fetch lon from sunlight where value is greater than the total of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001407 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, type, unit, value
Sensor: visibility | fields: level, lat, value, qc
Task: Fetch depth from turbidity where ts exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001408 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, depth, lat, unit
Sensor: uv_index | fields: qc, type, lon, ts
Task: Retrieve value from visibility with value above the AVG(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001409 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lat, type, lon, reading
Sensor: frost | fields: depth, level, value, qc
Task: Retrieve value from turbidity whose depth is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001410 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: qc, lon, unit, level
Sensor: pressure | fields: depth, unit, type, reading
Task: Get depth from visibility where qc appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001411 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: lon, qc, level, type
Sensor: wind_speed | fields: lat, level, type, value
Task: Get lon from temperature where unit appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001412 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, reading, qc, unit
Sensor: soil_moisture | fields: level, reading, ts, value
Task: Fetch depth from cloud_cover where reading is greater than the count of of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001413 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, level, ts, depth
Sensor: wind_speed | fields: lon, unit, reading, value
Task: Retrieve depth from rainfall with depth above the MIN(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001414 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lat, unit, depth, lon
Sensor: lightning | fields: qc, type, unit, value
Task: Retrieve depth from drought_index that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001415 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: level, lat, value, lon
Sensor: rainfall | fields: lat, level, value, depth
Task: Retrieve lat from air_quality with depth above the COUNT(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001416 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, type, reading, level
Sensor: humidity | fields: qc, ts, value, level
Task: Fetch reading from soil_moisture where reading is greater than the minimum of value in humidity for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001417 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, reading, value, lat
Sensor: temperature | fields: lon, reading, qc, type
Task: Fetch reading from cloud_cover that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001418 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lon, level, qc, value
Sensor: lightning | fields: level, lat, unit, type
Task: Retrieve reading from pressure that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001419 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, ts, type, lat
Sensor: wind_speed | fields: value, lat, lon, depth
Task: Retrieve depth from lightning whose qc is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001420 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lon, ts, value, reading
Sensor: uv_index | fields: qc, level, unit, reading
Task: Retrieve level from rainfall with depth above the COUNT(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001421 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lat, level, reading, ts
Sensor: cloud_cover | fields: lon, type, unit, reading
Task: Retrieve value from air_quality with value above the SUM(depth) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001422 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, lat, lon, value
Sensor: pressure | fields: value, lon, type, lat
Task: Retrieve reading from cloud_cover whose type is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001423 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lon, reading, ts, level
Sensor: cloud_cover | fields: value, reading, qc, type
Task: Get reading from dew_point where depth appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001424 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, depth, qc, level
Sensor: visibility | fields: lon, type, qc, depth
Task: Get lon from snow_depth where depth appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001425 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lat, reading, value, depth
Sensor: frost | fields: qc, level, value, type
Task: Fetch level from evaporation where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001426 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, reading, type, depth
Sensor: temperature | fields: lon, lat, qc, ts
Task: Retrieve level from turbidity whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001427 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: lon, type, value, unit
Sensor: temperature | fields: reading, lon, ts, depth
Task: Get depth from frost where value exceeds the minimum reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001428 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: lon, qc, reading, type
Sensor: soil_moisture | fields: reading, qc, lat, lon
Task: Retrieve reading from rainfall that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001429 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: reading, lon, lat, depth
Sensor: temperature | fields: type, lat, reading, value
Task: Get depth from evaporation where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001430 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: unit, lon, type, reading
Sensor: soil_moisture | fields: lat, type, qc, unit
Task: Retrieve lat from lightning with value above the SUM(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001431 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: reading, lon, unit, lat
Sensor: pressure | fields: ts, depth, lon, reading
Task: Retrieve depth from turbidity whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001432 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: qc, lon, depth, value
Sensor: rainfall | fields: type, lat, value, level
Task: Get value from evaporation where reading exceeds the total reading from rainfall for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001433 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: depth, lon, type, reading
Sensor: snow_depth | fields: type, depth, reading, ts
Task: Retrieve lon from rainfall whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001434 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: unit, lat, type, ts
Sensor: turbidity | fields: level, value, type, ts
Task: Get reading from evaporation where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001435 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, level, value, qc
Sensor: lightning | fields: lat, lon, level, type
Task: Get lat from snow_depth where reading exceeds the average value from lightning for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001436 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, qc, reading, lon
Sensor: snow_depth | fields: qc, type, reading, lon
Task: Retrieve reading from air_quality that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"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_001437 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: unit, ts, reading, value
Sensor: lightning | fields: unit, type, reading, qc
Task: Fetch reading from sunlight where reading is greater than the average of reading in lightning for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001438 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: qc, unit, lon, level
Sensor: humidity | fields: unit, lon, level, reading
Task: Retrieve value from lightning that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001439 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lon, type, depth, unit
Sensor: uv_index | fields: depth, type, lat, lon
Task: Fetch depth from drought_index where value is greater than the count of of value in uv_index for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001440 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, unit, type, qc
Sensor: air_quality | fields: depth, lon, value, type
Task: Get level from rainfall where ts appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001441 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: ts, lon, unit, type
Sensor: humidity | fields: reading, lat, qc, type
Task: Fetch lat from uv_index where unit exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001442 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: type, ts, qc, unit
Sensor: turbidity | fields: value, lat, reading, ts
Task: Fetch level from pressure where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001443 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: qc, value, depth, lon
Sensor: evaporation | fields: lat, value, qc, type
Task: Fetch reading from pressure where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001444 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: reading, lon, depth, qc
Sensor: lightning | fields: qc, unit, ts, type
Task: Fetch depth from drought_index that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001445 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: level, lon, reading, unit
Sensor: lightning | fields: unit, level, ts, reading
Task: Get reading from uv_index where qc appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001446 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lon, value, level, type
Sensor: visibility | fields: ts, level, value, lon
Task: Retrieve depth from temperature with reading above the MIN(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001447 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lon, qc, type, level
Sensor: pressure | fields: qc, value, lon, reading
Task: Retrieve lon from uv_index that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001448 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, value, level, ts
Sensor: temperature | fields: depth, reading, lon, level
Task: Get lat from snow_depth where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001449 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, level, ts, reading
Sensor: temperature | fields: lat, value, qc, lon
Task: Fetch depth from uv_index that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001450 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, unit, lon, reading
Sensor: cloud_cover | fields: type, lat, reading, qc
Task: Retrieve depth from frost with depth above the MIN(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001451 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, lat, unit, ts
Sensor: visibility | fields: ts, value, type, unit
Task: Retrieve value from temperature whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001452 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, level, lon, type
Sensor: temperature | fields: type, lon, level, qc
Task: Fetch depth from uv_index that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001453 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, qc, ts, reading
Sensor: evaporation | fields: type, qc, lat, level
Task: Retrieve lat from humidity with depth above the MIN(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001454 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, lat, unit, value
Sensor: wind_speed | fields: level, qc, lon, value
Task: Get lat from cloud_cover where depth exceeds the total depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001455 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, unit, lon, reading
Sensor: cloud_cover | fields: depth, unit, level, lat
Task: Retrieve level from soil_moisture with depth above the AVG(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001456 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, qc, depth, value
Sensor: wind_speed | fields: unit, type, depth, lat
Task: Retrieve level from rainfall with reading above the MAX(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001457 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: reading, lat, level, qc
Sensor: frost | fields: lat, unit, ts, reading
Task: Retrieve level from pressure whose qc is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001458 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: level, qc, unit, lat
Sensor: uv_index | fields: unit, qc, level, ts
Task: Get depth from frost where type appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001459 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: value, lat, qc, unit
Sensor: lightning | fields: type, level, reading, unit
Task: Get lon from rainfall where depth exceeds the total value from lightning for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001460 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: type, value, level, reading
Sensor: cloud_cover | fields: qc, ts, unit, level
Task: Get lat from dew_point where value exceeds the count of value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001461 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, type, reading, lon
Sensor: humidity | fields: value, lat, unit, ts
Task: Retrieve lon from soil_moisture whose qc is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001462 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, ts, type, depth
Sensor: lightning | fields: lat, value, reading, type
Task: Retrieve reading from soil_moisture that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001463 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lat, unit, value, ts
Sensor: cloud_cover | fields: ts, depth, unit, reading
Task: Get reading from temperature where type appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001464 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, qc, type, depth
Sensor: uv_index | fields: ts, reading, level, unit
Task: Fetch depth from wind_speed where depth is greater than the count of of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001465 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: level, reading, qc, ts
Sensor: humidity | fields: qc, lat, reading, lon
Task: Retrieve level from frost that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001466 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: qc, depth, value, reading
Sensor: humidity | fields: reading, depth, level, lon
Task: Get level from dew_point where depth exceeds the average reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
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": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001467 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, reading, value, type
Sensor: air_quality | fields: depth, unit, ts, qc
Task: Retrieve level from turbidity that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001468 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lon, value, type, unit
Sensor: rainfall | fields: unit, ts, depth, qc
Task: Retrieve reading from turbidity that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001469 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, depth, value, lon
Sensor: sunlight | fields: reading, lon, ts, value
Task: Retrieve reading from lightning whose type is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001470 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, qc, value, depth
Sensor: snow_depth | fields: lon, level, unit, depth
Task: Retrieve lon from soil_moisture that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001471 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lat, reading, depth, qc
Sensor: rainfall | fields: lat, level, ts, type
Task: Fetch reading from air_quality where reading is greater than the total of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001472 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, lat, ts, reading
Sensor: frost | fields: lon, ts, qc, lat
Task: Fetch lon from cloud_cover that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001473 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: unit, type, lat, reading
Sensor: snow_depth | fields: reading, type, lon, lat
Task: Fetch lon from turbidity where depth is greater than the count of of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001474 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, level, type, lon
Sensor: turbidity | fields: lon, depth, reading, value
Task: Get level from soil_moisture where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001475 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, level, lon, lat
Sensor: frost | fields: depth, ts, lat, unit
Task: Retrieve lat from uv_index with value above the SUM(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001476 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: depth, qc, value, lat
Sensor: pressure | fields: reading, depth, level, unit
Task: Fetch level from sunlight that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001477 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: level, depth, qc, lat
Sensor: evaporation | fields: unit, reading, ts, lat
Task: Retrieve reading from drought_index whose qc is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001478 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, value, qc, lat
Sensor: dew_point | fields: ts, unit, reading, lat
Task: Get lon from air_quality where type appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001479 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, lat, reading, value
Sensor: soil_moisture | fields: lon, level, depth, reading
Task: Get level from frost where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001480 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: type, unit, lon, level
Sensor: snow_depth | fields: qc, value, ts, level
Task: Get lon from uv_index where ts appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001481 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lat, depth, qc, lon
Sensor: soil_moisture | fields: value, type, lon, depth
Task: Fetch lat from air_quality that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001482 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: ts, qc, depth, reading
Sensor: visibility | fields: unit, level, lon, lat
Task: Fetch reading from air_quality that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001483 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: unit, lat, reading, level
Sensor: soil_moisture | fields: type, qc, reading, value
Task: Fetch reading from pressure where ts exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001484 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: unit, lat, reading, depth
Sensor: pressure | fields: qc, unit, reading, depth
Task: Retrieve reading from visibility whose type is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001485 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: qc, lon, ts, depth
Sensor: soil_moisture | fields: type, qc, reading, depth
Task: Retrieve reading from evaporation with depth above the SUM(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001486 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, unit, depth, level
Sensor: drought_index | fields: qc, type, level, depth
Task: Retrieve lon from snow_depth whose depth is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001487 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: depth, type, ts, level
Sensor: dew_point | fields: unit, lat, lon, ts
Task: Retrieve value from rainfall whose depth is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001488 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: reading, value, level, lon
Sensor: pressure | fields: lon, level, value, ts
Task: Retrieve reading from turbidity whose depth is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001489 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, qc, reading, level
Sensor: sunlight | fields: type, unit, reading, depth
Task: Get value from snow_depth where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001490 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, qc, lat, unit
Sensor: visibility | fields: unit, lon, level, type
Task: Retrieve lat from snow_depth whose qc is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001491 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: reading, qc, lon, lat
Sensor: evaporation | fields: ts, level, lat, depth
Task: Retrieve lon from frost whose depth is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001492 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, lat, reading, qc
Sensor: humidity | fields: lon, depth, qc, lat
Task: Retrieve reading from soil_moisture with value above the SUM(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001493 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: reading, level, ts, lat
Sensor: wind_speed | fields: depth, level, ts, lat
Task: Get lon from frost where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001494 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, lat, type, ts
Sensor: cloud_cover | fields: reading, value, unit, type
Task: Fetch reading from wind_speed where reading is greater than the count of of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001495 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lat, ts, unit, depth
Sensor: soil_moisture | fields: reading, type, lon, ts
Task: Get reading from humidity where value exceeds the count of reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001496 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lat, unit, value, level
Sensor: uv_index | fields: qc, reading, depth, type
Task: Retrieve lat from turbidity whose unit is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001497 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: unit, qc, ts, reading
Sensor: rainfall | fields: level, unit, type, depth
Task: Retrieve lon from turbidity with value above the SUM(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001498 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, qc, unit, lon
Sensor: air_quality | fields: reading, depth, qc, value
Task: Fetch lat from soil_moisture that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.