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: evaporation | code: prt | fields: type, lon, value, unit
Sensor: lightning | fields: value, type, lat, depth
Task: Get value from evaporation where reading exceeds the average depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001800 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, unit, lat, lon
Sensor: wind_speed | fields: qc, depth, reading, type
Task: Get level from soil_moisture where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001801 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: depth, reading, lat, type
Sensor: snow_depth | fields: unit, value, type, level
Task: Get level from evaporation where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001802 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lat, reading, ts, unit
Sensor: uv_index | fields: ts, unit, reading, depth
Task: Fetch value from temperature that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001803 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, reading, unit, level
Sensor: soil_moisture | fields: ts, lat, reading, unit
Task: Retrieve reading from air_quality whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001804 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, reading, value, qc
Sensor: humidity | fields: type, reading, lat, value
Task: Retrieve level from snow_depth with value above the COUNT(reading) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001805 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, qc, level, ts
Sensor: evaporation | fields: unit, ts, qc, reading
Task: Get level from snow_depth where type appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001806 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: ts, depth, level, lat
Sensor: cloud_cover | fields: qc, unit, level, value
Task: Get lon from lightning where depth exceeds the total value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001807 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, value, type, lon
Sensor: lightning | fields: level, ts, depth, type
Task: Fetch lat from soil_moisture that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001808 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: depth, level, qc, type
Sensor: uv_index | fields: lat, lon, reading, level
Task: Get lon from air_quality where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001809 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: qc, value, level, lat
Sensor: air_quality | fields: lon, reading, lat, ts
Task: Get depth from uv_index where depth exceeds the maximum depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001810 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, level, type, reading
Sensor: drought_index | fields: type, reading, lat, qc
Task: Get value from cloud_cover where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001811 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: type, unit, depth, ts
Sensor: pressure | fields: qc, depth, type, level
Task: Get lon from humidity where depth exceeds the maximum value from pressure for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001812 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, reading, qc, depth
Sensor: pressure | fields: qc, lat, level, reading
Task: Retrieve depth from rainfall with depth above the MIN(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001813 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: unit, lon, level, qc
Sensor: sunlight | fields: unit, lon, reading, value
Task: Get level from visibility where qc appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001814 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, unit, ts, type
Sensor: temperature | fields: lon, ts, unit, reading
Task: Get reading from wind_speed where value exceeds the total reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001815 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, qc, value, lat
Sensor: air_quality | fields: level, lon, qc, type
Task: Retrieve level from dew_point with value above the COUNT(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001816 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lon, unit, reading, value
Sensor: turbidity | fields: reading, unit, depth, type
Task: Get lat from evaporation where reading exceeds the count of value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001817 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: qc, ts, unit, lat
Sensor: cloud_cover | fields: lon, value, unit, depth
Task: Get reading from frost where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001818 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: type, lon, reading, value
Sensor: rainfall | fields: reading, qc, lon, value
Task: Retrieve lat from lightning whose type is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001819 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, ts, lat, level
Sensor: cloud_cover | fields: reading, ts, value, level
Task: Retrieve lat from dew_point that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001820 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: reading, level, qc, value
Sensor: soil_moisture | fields: reading, lat, depth, qc
Task: Get depth from temperature where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001821 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, type, qc, value
Sensor: visibility | fields: reading, lat, qc, level
Task: Retrieve lon from cloud_cover that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001822 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: unit, level, value, lat
Sensor: evaporation | fields: ts, reading, type, value
Task: Retrieve value from sunlight with value above the AVG(depth) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001823 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: level, lat, unit, qc
Sensor: lightning | fields: reading, level, lat, depth
Task: Fetch lat from rainfall that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001824 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: type, reading, lat, lon
Sensor: uv_index | fields: qc, depth, unit, ts
Task: Fetch value from visibility where value is greater than the minimum of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001825 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, depth, ts, unit
Sensor: pressure | fields: lon, level, type, depth
Task: Fetch depth from sunlight where reading is greater than the average of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001826 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: value, ts, reading, lon
Sensor: temperature | fields: depth, reading, qc, value
Task: Fetch lat from air_quality that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001827 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, ts, value, unit
Sensor: temperature | fields: qc, lon, type, level
Task: Fetch lon from soil_moisture where depth is greater than the count of of value in temperature for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001828 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, type, reading, lon
Sensor: humidity | fields: reading, level, ts, qc
Task: Fetch reading from wind_speed where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001829 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, unit, ts, qc
Sensor: wind_speed | fields: lat, value, qc, lon
Task: Retrieve level from soil_moisture whose type is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001830 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: reading, unit, type, qc
Sensor: pressure | fields: lat, type, depth, level
Task: Retrieve value from rainfall with value above the MIN(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001831 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: depth, qc, lat, level
Sensor: snow_depth | fields: lon, unit, ts, depth
Task: Get value from drought_index where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001832 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: unit, value, depth, reading
Sensor: evaporation | fields: unit, reading, lat, lon
Task: Get lat from lightning where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001833 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, value, level, ts
Sensor: frost | fields: type, value, depth, unit
Task: Retrieve level from sunlight whose depth is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001834 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, value, qc, level
Sensor: sunlight | fields: value, depth, lon, type
Task: Retrieve reading from cloud_cover whose unit is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001835 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: qc, unit, lon, ts
Sensor: dew_point | fields: value, ts, depth, reading
Task: Fetch value from humidity where depth is greater than the maximum of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001836 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, value, level, lat
Sensor: humidity | fields: reading, lat, lon, depth
Task: Fetch lat from cloud_cover that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001837 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: value, qc, reading, lat
Sensor: soil_moisture | fields: lon, reading, qc, depth
Task: Retrieve value from pressure whose unit is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001838 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: unit, lat, type, qc
Sensor: rainfall | fields: lat, qc, depth, ts
Task: Fetch value from temperature where reading is greater than the minimum of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001839 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: value, ts, depth, type
Sensor: visibility | fields: ts, qc, level, unit
Task: Retrieve lat from temperature with reading above the MAX(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001840 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: reading, qc, type, ts
Sensor: wind_speed | fields: value, lon, depth, reading
Task: Fetch depth from uv_index where reading is greater than the minimum of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001841 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lon, value, ts, lat
Sensor: drought_index | fields: reading, ts, lat, lon
Task: Retrieve depth from temperature with reading above the COUNT(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"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_001842 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lat, value, type, level
Sensor: frost | fields: qc, unit, value, depth
Task: Get lon from drought_index where ts appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001843 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, lon, lat, depth
Sensor: humidity | fields: lat, depth, level, type
Task: Retrieve value from air_quality that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001844 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: level, value, lat, ts
Sensor: snow_depth | fields: lat, level, lon, unit
Task: Get reading from lightning where reading exceeds the total reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001845 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: depth, value, unit, level
Sensor: cloud_cover | fields: lat, type, ts, depth
Task: Fetch lat from sunlight where value is greater than the average of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001846 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: level, lon, lat, unit
Sensor: turbidity | fields: lat, qc, unit, lon
Task: Retrieve depth from dew_point with value above the SUM(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001847 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, qc, lon, ts
Sensor: temperature | fields: lon, lat, ts, depth
Task: Retrieve lon from uv_index with depth above the COUNT(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001848 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, lat, ts, lon
Sensor: pressure | fields: depth, lat, reading, ts
Task: Fetch depth from cloud_cover that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001849 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, type, reading, ts
Sensor: snow_depth | fields: depth, type, unit, lat
Task: Get level from uv_index where ts appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001850 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: qc, depth, value, unit
Sensor: wind_speed | fields: unit, value, level, qc
Task: Get value from humidity where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001851 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: reading, ts, level, value
Sensor: wind_speed | fields: value, ts, level, lat
Task: Retrieve level from uv_index that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001852 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, lon, qc, unit
Sensor: dew_point | fields: qc, level, depth, lon
Task: Fetch depth from visibility where value is greater than the count of of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001853 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: qc, value, reading, lon
Sensor: drought_index | fields: type, ts, lon, value
Task: Retrieve depth from lightning that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001854 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: type, unit, reading, value
Sensor: cloud_cover | fields: depth, level, type, unit
Task: Fetch reading from humidity that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001855 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: level, depth, qc, lat
Sensor: lightning | fields: unit, qc, lat, depth
Task: Fetch lat from turbidity that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001856 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: unit, lat, lon, level
Sensor: air_quality | fields: lon, value, qc, level
Task: Get level from turbidity where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001857 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, depth, level, ts
Sensor: air_quality | fields: value, lon, type, qc
Task: Get level from frost where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001858 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: ts, value, level, type
Sensor: soil_moisture | fields: level, unit, qc, ts
Task: Get level from temperature where reading exceeds the count of value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001859 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: unit, value, lat, ts
Sensor: snow_depth | fields: reading, unit, qc, level
Task: Get depth from air_quality where depth exceeds the total reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001860 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: reading, lat, ts, lon
Sensor: wind_speed | fields: lon, depth, qc, level
Task: Fetch value from humidity where qc exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001861 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lon, lat, unit, type
Sensor: dew_point | fields: level, reading, value, type
Task: Retrieve reading from pressure with value above the MAX(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001862 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: depth, lat, ts, reading
Sensor: lightning | fields: reading, value, qc, level
Task: Get reading from pressure where a corresponding entry exists in lightning with 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_001863 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, level, depth, value
Sensor: frost | fields: reading, qc, depth, ts
Task: Fetch lat from cloud_cover where ts exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001864 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, depth, lon, qc
Sensor: sunlight | fields: lat, qc, level, reading
Task: Get level from lightning where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001865 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: type, qc, lat, depth
Sensor: pressure | fields: ts, value, lon, qc
Task: Get level from temperature where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001866 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: qc, value, type, level
Sensor: turbidity | fields: qc, depth, reading, level
Task: Retrieve reading from dew_point whose depth is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001867 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, ts, lat, depth
Sensor: snow_depth | fields: lon, lat, reading, qc
Task: Fetch depth from sunlight where depth is greater than the average of depth in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001868 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: qc, type, unit, depth
Sensor: sunlight | fields: lon, lat, unit, level
Task: Get depth from evaporation where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001869 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lon, reading, qc, depth
Sensor: soil_moisture | fields: type, value, lat, level
Task: Retrieve value from pressure that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001870 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: reading, depth, level, qc
Sensor: uv_index | fields: lat, ts, reading, level
Task: Get reading from evaporation where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001871 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, type, lat, unit
Sensor: cloud_cover | fields: ts, value, lon, qc
Task: Fetch reading from snow_depth that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001872 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: level, depth, qc, lat
Sensor: lightning | fields: type, qc, value, unit
Task: Fetch lat from air_quality where value is greater than the maximum of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001873 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, lon, qc, level
Sensor: visibility | fields: unit, qc, type, level
Task: Retrieve level from cloud_cover with depth above the SUM(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001874 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: ts, level, value, reading
Sensor: visibility | fields: lon, ts, lat, unit
Task: Fetch lon from air_quality that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001875 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: type, lon, lat, qc
Sensor: frost | fields: qc, depth, lat, unit
Task: Get reading from evaporation where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001876 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lon, reading, qc, type
Sensor: temperature | fields: qc, unit, value, lat
Task: Get level from air_quality where ts appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001877 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: reading, ts, unit, lon
Sensor: dew_point | fields: ts, value, depth, qc
Task: Get lon from uv_index where ts appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001878 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: ts, unit, depth, reading
Sensor: soil_moisture | fields: depth, type, unit, level
Task: Fetch lon from drought_index that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001879 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: type, qc, lon, ts
Sensor: uv_index | fields: qc, lat, value, level
Task: Get lat from dew_point where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001880 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, type, value, depth
Sensor: sunlight | fields: level, ts, qc, type
Task: Get reading from snow_depth where value exceeds the minimum value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001881 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: unit, lon, qc, reading
Sensor: turbidity | fields: lat, depth, lon, value
Task: Get level from temperature where depth appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001882 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, level, reading, unit
Sensor: soil_moisture | fields: depth, level, qc, lon
Task: Fetch lat from lightning where qc exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001883 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: ts, value, lat, lon
Sensor: pressure | fields: ts, value, type, lon
Task: Fetch level from sunlight where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001884 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lat, qc, ts, lon
Sensor: humidity | fields: lat, qc, unit, lon
Task: Retrieve value from uv_index whose type is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001885 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, level, reading, depth
Sensor: wind_speed | fields: ts, value, type, lat
Task: Retrieve level from visibility whose depth is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001886 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: unit, value, lon, level
Sensor: snow_depth | fields: value, ts, unit, lon
Task: Retrieve lon from turbidity that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001887 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: unit, lat, type, value
Sensor: dew_point | fields: qc, level, depth, ts
Task: Fetch level from sunlight that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001888 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: type, qc, lon, ts
Sensor: drought_index | fields: qc, value, ts, unit
Task: Get depth from snow_depth where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001889 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, unit, type, reading
Sensor: cloud_cover | fields: depth, value, lat, lon
Task: Fetch level from snow_depth where depth is greater than the count of of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001890 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, lat, level, lon
Sensor: uv_index | fields: level, lat, reading, qc
Task: Get lon from lightning where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001891 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: level, type, value, depth
Sensor: drought_index | fields: value, ts, lat, depth
Task: Get reading from air_quality where reading exceeds the maximum value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001892 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lat, level, qc, lon
Sensor: lightning | fields: value, ts, type, level
Task: Retrieve reading from frost that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001893 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: ts, value, type, unit
Sensor: cloud_cover | fields: lon, ts, unit, type
Task: Fetch depth from pressure where depth is greater than the count of of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001894 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lat, depth, reading, unit
Sensor: sunlight | fields: depth, level, qc, lat
Task: Get level from evaporation where depth appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001895 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, unit, reading, depth
Sensor: evaporation | fields: reading, unit, lon, ts
Task: Fetch lat from lightning where reading is greater than the maximum of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001896 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: type, value, reading, ts
Sensor: dew_point | fields: level, qc, reading, value
Task: Retrieve lon from snow_depth with depth above the MIN(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001897 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: reading, level, type, lat
Sensor: pressure | fields: lon, qc, ts, type
Task: Fetch value from temperature where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001898 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, type, level, value
Sensor: drought_index | fields: unit, qc, type, ts
Task: Fetch lon from temperature that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.