variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lon, value, depth, level
Sensor: uv_index | fields: lat, unit, depth, level
Task: Get depth from evaporation where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068800 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, qc, lat, value
Sensor: temperature | fields: lon, value, type, reading
Task: Fetch level from soil_moisture where depth is greater than the minimum of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068801 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: qc, lat, depth, ts
Sensor: turbidity | fields: type, lat, unit, level
Task: Retrieve lon from dew_point whose unit is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068802 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: reading, ts, lat, level
Sensor: temperature | fields: reading, qc, unit, type
Task: Fetch reading from air_quality where qc exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068803 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, qc, lon, value
Sensor: air_quality | fields: value, type, depth, lon
Task: Fetch level from temperature that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"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_068804 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: unit, lat, type, level
Sensor: dew_point | fields: depth, ts, lon, unit
Task: Retrieve reading from uv_index that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068805 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: qc, unit, lon, lat
Sensor: soil_moisture | fields: unit, level, depth, reading
Task: Get lon from turbidity where unit appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068806 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, type, level, lon
Sensor: frost | fields: type, ts, unit, qc
Task: Fetch value from soil_moisture that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068807 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, qc, type, value
Sensor: pressure | fields: depth, lat, level, ts
Task: Retrieve lat from soil_moisture with reading above the AVG(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068808 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: unit, type, lat, level
Sensor: cloud_cover | fields: unit, lon, qc, ts
Task: Retrieve lat from sunlight whose type is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068809 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, lat, level, lon
Sensor: lightning | fields: type, lat, depth, qc
Task: Get value from wind_speed where depth exceeds the total value from lightning for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068810 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: level, depth, type, qc
Sensor: snow_depth | fields: reading, lon, lat, depth
Task: Retrieve lon from evaporation whose type is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068811 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, reading, depth, value
Sensor: soil_moisture | fields: qc, lat, ts, level
Task: Fetch lat from sunlight where value is greater than the average of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068812 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lat, depth, unit, lon
Sensor: cloud_cover | fields: lon, unit, qc, type
Task: Get lon from drought_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068813 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lat, reading, unit, qc
Sensor: evaporation | fields: depth, level, lat, ts
Task: Retrieve level from frost that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068814 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, ts, reading, depth
Sensor: drought_index | fields: level, type, lon, ts
Task: Get lat from soil_moisture where value exceeds the total depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068815 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: type, value, lon, ts
Sensor: air_quality | fields: value, unit, lon, depth
Task: Fetch lon from evaporation that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068816 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: level, qc, depth, type
Sensor: soil_moisture | fields: reading, type, depth, qc
Task: Fetch level from visibility where reading is greater than the average of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068817 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: depth, lat, ts, value
Sensor: lightning | fields: reading, level, depth, lon
Task: Get value from turbidity where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068818 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: unit, reading, level, depth
Sensor: air_quality | fields: qc, reading, level, ts
Task: Fetch depth from uv_index that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068819 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, depth, value, lon
Sensor: sunlight | fields: reading, depth, value, level
Task: Get depth from soil_moisture where depth appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068820 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, lon, unit, value
Sensor: drought_index | fields: unit, type, reading, qc
Task: Retrieve depth from cloud_cover that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"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_068821 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: depth, value, qc, reading
Sensor: air_quality | fields: unit, ts, value, depth
Task: Fetch reading from dew_point that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068822 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: level, qc, type, reading
Sensor: snow_depth | fields: level, reading, type, qc
Task: Fetch lat from frost that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068823 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, unit, level, value
Sensor: wind_speed | fields: qc, type, lon, ts
Task: Retrieve level from soil_moisture whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068824 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: qc, lon, reading, value
Sensor: evaporation | fields: ts, reading, level, lon
Task: Retrieve lat from air_quality that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068825 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: type, value, qc, reading
Sensor: temperature | fields: ts, unit, qc, level
Task: Retrieve lat from snow_depth with depth above the SUM(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068826 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lon, type, depth, unit
Sensor: snow_depth | fields: type, qc, ts, level
Task: Get lon from turbidity where depth exceeds the average value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068827 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, reading, value, level
Sensor: cloud_cover | fields: value, reading, level, depth
Task: Retrieve level from air_quality with value above the AVG(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068828 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: ts, reading, lat, value
Sensor: dew_point | fields: reading, ts, depth, unit
Task: Fetch level from humidity where depth is greater than the count of of value in dew_point for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068829 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: ts, reading, qc, lon
Sensor: air_quality | fields: qc, level, value, depth
Task: Fetch lon from visibility where value is greater than the maximum of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068830 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: level, qc, depth, unit
Sensor: evaporation | fields: lat, lon, level, reading
Task: Get lon from pressure where value exceeds the total value from evaporation for the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068831 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: type, unit, depth, qc
Sensor: snow_depth | fields: reading, qc, type, lon
Task: Retrieve value from wind_speed whose type is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068832 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, value, type, depth
Sensor: sunlight | fields: qc, ts, type, lat
Task: Get lon from cloud_cover where ts appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068833 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, type, value, ts
Sensor: temperature | fields: reading, unit, ts, lat
Task: Get reading from soil_moisture where reading exceeds the total value from temperature for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068834 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, lat, depth, level
Sensor: cloud_cover | fields: qc, lon, ts, lat
Task: Fetch value from frost where value is greater than the minimum of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068835 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, lat, lon, reading
Sensor: pressure | fields: reading, ts, qc, unit
Task: Fetch level from humidity where value is greater than the maximum of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068836 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: unit, lat, value, reading
Sensor: uv_index | fields: level, depth, qc, ts
Task: Fetch lat from humidity where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068837 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: qc, type, lat, lon
Sensor: temperature | fields: unit, ts, lat, level
Task: Get reading from rainfall where value exceeds the total value from temperature for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068838 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, type, level, unit
Sensor: snow_depth | fields: lat, lon, level, unit
Task: Fetch level from drought_index where value is greater than the maximum of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068839 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: depth, value, ts, level
Sensor: wind_speed | fields: unit, ts, value, type
Task: Retrieve value from air_quality whose qc is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068840 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, lon, unit, lat
Sensor: snow_depth | fields: ts, qc, lon, unit
Task: Get level from cloud_cover where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068841 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: level, lat, type, value
Sensor: frost | fields: ts, type, lon, lat
Task: Retrieve level from snow_depth whose unit is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068842 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lon, depth, lat, ts
Sensor: pressure | fields: type, value, reading, lat
Task: Get depth from frost where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068843 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lat, depth, type, level
Sensor: drought_index | fields: depth, lat, reading, ts
Task: Fetch lat from lightning where reading is greater than the total of reading in drought_index for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068844 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lat, qc, value, lon
Sensor: turbidity | fields: depth, type, lat, qc
Task: Get lon from uv_index where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068845 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, reading, lat, ts
Sensor: evaporation | fields: value, unit, lat, type
Task: Fetch lon from cloud_cover where depth is greater than the minimum of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068846 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: value, depth, reading, level
Sensor: turbidity | fields: level, reading, ts, lon
Task: Get lon from sunlight where depth appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068847 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, reading, qc, ts
Sensor: pressure | fields: type, reading, depth, value
Task: Get level from soil_moisture where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068848 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, depth, level, lon
Sensor: temperature | fields: ts, type, lat, reading
Task: Retrieve lat from air_quality whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068849 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, lon, unit, level
Sensor: dew_point | fields: reading, type, ts, qc
Task: Get level from snow_depth where depth appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068850 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: reading, lon, value, lat
Sensor: evaporation | fields: lon, reading, ts, qc
Task: Retrieve depth from pressure whose ts is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068851 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: ts, reading, level, value
Sensor: dew_point | fields: qc, lat, ts, lon
Task: Fetch level from temperature where reading is greater than the minimum of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068852 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: level, lat, unit, depth
Sensor: visibility | fields: unit, lat, type, level
Task: Get lat from evaporation where type appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068853 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, unit, ts, value
Sensor: frost | fields: level, reading, lat, unit
Task: Fetch lat from soil_moisture where reading is greater than the minimum of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068854 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lat, depth, type, level
Sensor: sunlight | fields: level, ts, unit, reading
Task: Fetch level from lightning where type exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068855 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: unit, lat, type, reading
Sensor: wind_speed | fields: depth, value, lon, lat
Task: Get reading from temperature where value exceeds the total value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068856 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: value, level, ts, reading
Sensor: wind_speed | fields: depth, ts, reading, value
Task: Get reading from humidity where value exceeds the count of depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068857 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lat, qc, ts, reading
Sensor: lightning | fields: lon, depth, lat, level
Task: Fetch lat from drought_index where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068858 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: unit, ts, value, level
Sensor: humidity | fields: reading, unit, level, lat
Task: Get lat from frost where depth exceeds the maximum depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068859 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: value, reading, unit, qc
Sensor: visibility | fields: depth, level, ts, unit
Task: Get level from wind_speed where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068860 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, value, qc, depth
Sensor: drought_index | fields: lon, reading, value, qc
Task: Fetch level from frost that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068861 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, level, reading, ts
Sensor: temperature | fields: type, lon, ts, level
Task: Fetch lon from snow_depth where depth is greater than the total of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068862 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, ts, lat, value
Sensor: turbidity | fields: unit, value, ts, type
Task: Fetch lat from cloud_cover that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068863 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: qc, lon, unit, ts
Sensor: temperature | fields: level, qc, unit, lon
Task: Retrieve lon from drought_index that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068864 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, value, level, reading
Sensor: drought_index | fields: ts, lon, lat, reading
Task: Retrieve lon from humidity that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068865 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, lat, qc, value
Sensor: air_quality | fields: unit, type, value, ts
Task: Retrieve lat from turbidity with value above the MAX(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068866 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, type, lon, qc
Sensor: humidity | fields: ts, unit, reading, value
Task: Retrieve lat from frost with value above the COUNT(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068867 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, value, type, ts
Sensor: pressure | fields: reading, ts, level, depth
Task: Fetch value from turbidity that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068868 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, level, ts, unit
Sensor: dew_point | fields: level, reading, unit, qc
Task: Get lat from snow_depth where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068869 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, lat, type, qc
Sensor: lightning | fields: qc, depth, level, type
Task: Get reading from snow_depth where depth exceeds the total depth from lightning for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068870 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: reading, lat, type, lon
Sensor: turbidity | fields: depth, unit, qc, level
Task: Get lat from temperature where depth exceeds the minimum depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068871 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, value, lat, type
Sensor: air_quality | fields: depth, qc, ts, lat
Task: Retrieve lat from snow_depth whose ts is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068872 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: lat, depth, type, ts
Sensor: turbidity | fields: qc, value, lon, lat
Task: Get value from evaporation where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068873 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: level, qc, reading, type
Sensor: snow_depth | fields: value, lon, type, reading
Task: Get lat from evaporation where depth exceeds the total value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068874 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: unit, type, level, ts
Sensor: uv_index | fields: lon, lat, value, unit
Task: Fetch depth from sunlight where value is greater than the count of of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068875 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: type, lon, ts, value
Sensor: lightning | fields: level, ts, type, value
Task: Fetch level from drought_index where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068876 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: type, value, lat, depth
Sensor: temperature | fields: lat, qc, level, reading
Task: Fetch value from dew_point where ts exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068877 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, unit, ts, type
Sensor: humidity | fields: level, lat, reading, type
Task: Get lon from temperature where depth appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068878 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: level, depth, lat, qc
Sensor: lightning | fields: qc, type, value, lon
Task: Retrieve depth from humidity whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068879 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, qc, reading, lat
Sensor: frost | fields: depth, ts, unit, type
Task: Retrieve value from cloud_cover with value above the SUM(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068880 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, type, lon, unit
Sensor: soil_moisture | fields: value, reading, lon, unit
Task: Get lat from uv_index where unit appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068881 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, type, reading, level
Sensor: air_quality | fields: lat, depth, qc, type
Task: Retrieve lat from wind_speed with reading above the AVG(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068882 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lat, lon, reading, ts
Sensor: dew_point | fields: lat, ts, lon, qc
Task: Retrieve reading from pressure that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068883 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: ts, qc, unit, value
Sensor: cloud_cover | fields: type, reading, lat, qc
Task: Fetch lon from lightning where reading is greater than the average of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068884 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: level, reading, value, lon
Sensor: soil_moisture | fields: depth, reading, level, value
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_068885 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: ts, level, type, reading
Sensor: dew_point | fields: depth, ts, lat, qc
Task: Retrieve depth from pressure whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068886 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, value, qc, type
Sensor: drought_index | fields: depth, lat, lon, type
Task: Get value from humidity where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068887 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: value, qc, depth, type
Sensor: dew_point | fields: value, unit, ts, lat
Task: Fetch reading from drought_index where ts exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068888 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: unit, lon, ts, depth
Sensor: evaporation | fields: unit, ts, lon, value
Task: Retrieve lat from frost that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068889 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lon, unit, value, qc
Sensor: cloud_cover | fields: qc, value, lon, lat
Task: Fetch depth from evaporation where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068890 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: qc, lat, depth, type
Sensor: visibility | fields: ts, type, reading, qc
Task: Get level from evaporation where depth appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068891 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: unit, lon, reading, value
Sensor: lightning | fields: reading, lon, unit, ts
Task: Retrieve level from air_quality that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068892 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: level, type, unit, depth
Sensor: cloud_cover | fields: lon, unit, value, type
Task: Fetch lon from dew_point that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068893 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, lon, qc, unit
Sensor: drought_index | fields: depth, reading, type, lat
Task: Get reading from snow_depth where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068894 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: value, lat, lon, qc
Sensor: rainfall | fields: lat, unit, value, level
Task: Fetch depth from visibility that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068895 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, type, ts, lon
Sensor: turbidity | fields: reading, lat, value, unit
Task: Fetch value from frost where depth is greater than the total of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068896 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, type, unit, lon
Sensor: temperature | fields: ts, qc, unit, type
Task: Fetch lon from wind_speed where qc exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068897 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: depth, ts, unit, lon
Sensor: air_quality | fields: unit, level, value, lon
Task: Get level from turbidity where reading exceeds the average reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068898 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: ts, type, value, level
Sensor: uv_index | fields: reading, qc, lon, unit
Task: Retrieve reading from lightning that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.