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: rainfall | code: mst | fields: unit, lon, lat, value
Sensor: cloud_cover | fields: ts, type, unit, lat
Task: Fetch lat from rainfall where reading is greater than the average of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000800 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, value, qc, level
Sensor: lightning | fields: lat, qc, type, depth
Task: Retrieve lat from soil_moisture that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000801 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: type, lon, unit, level
Sensor: drought_index | fields: lon, reading, unit, depth
Task: Get depth from visibility where depth appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000802 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: ts, lon, lat, level
Sensor: rainfall | fields: qc, unit, lon, value
Task: Retrieve level from humidity that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000803 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: ts, value, level, lon
Sensor: lightning | fields: lon, depth, level, type
Task: Get level from visibility where ts appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000804 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: ts, qc, lon, value
Sensor: soil_moisture | fields: lon, level, depth, unit
Task: Get depth from rainfall where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000805 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: unit, value, depth, reading
Sensor: wind_speed | fields: unit, value, depth, lat
Task: Retrieve value from evaporation whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000806 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, depth, lat, ts
Sensor: humidity | fields: ts, level, qc, lat
Task: Retrieve lat from soil_moisture that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000807 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: value, unit, type, lat
Sensor: temperature | fields: ts, reading, lon, lat
Task: Retrieve reading from wind_speed whose qc is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000808 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: value, lat, level, depth
Sensor: air_quality | fields: lat, level, qc, type
Task: Get depth from pressure where depth exceeds the count of value from air_quality for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000809 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, type, lat, reading
Sensor: humidity | fields: lon, value, ts, lat
Task: Retrieve lon from cloud_cover whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000810 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lon, reading, unit, depth
Sensor: evaporation | fields: qc, value, lon, ts
Task: Retrieve level from rainfall whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000811 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lat, level, ts, type
Sensor: frost | fields: level, qc, lon, reading
Task: Fetch depth from uv_index where reading is greater than the total of reading in frost for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000812 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, reading, type, lon
Sensor: evaporation | fields: ts, type, lat, reading
Task: Retrieve level from air_quality with reading above the COUNT(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"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_000813 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, value, depth, lat
Sensor: lightning | fields: qc, ts, value, level
Task: Retrieve value from soil_moisture that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000814 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, type, value, level
Sensor: rainfall | fields: ts, lat, level, unit
Task: Get lon from uv_index where ts appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000815 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: ts, lon, unit, reading
Sensor: cloud_cover | fields: ts, type, value, level
Task: Get lon from humidity where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000816 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lon, ts, lat, type
Sensor: dew_point | fields: lon, value, type, level
Task: Get value from pressure where depth exceeds the count of reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000817 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, lon, ts, qc
Sensor: lightning | fields: reading, unit, lat, level
Task: Retrieve level from drought_index that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000818 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: value, qc, ts, type
Sensor: wind_speed | fields: type, value, depth, qc
Task: Fetch level from air_quality that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000819 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: qc, level, type, ts
Sensor: temperature | fields: depth, lon, qc, reading
Task: Fetch lat from turbidity that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000820 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: unit, value, level, lon
Sensor: drought_index | fields: level, qc, unit, ts
Task: Get depth from temperature where value exceeds the total value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000821 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, lon, level, lat
Sensor: turbidity | fields: type, reading, lat, level
Task: Retrieve level from rainfall with reading above the AVG(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000822 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: value, unit, reading, ts
Sensor: humidity | fields: lon, type, value, depth
Task: Retrieve value from rainfall whose qc is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000823 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: reading, depth, lat, level
Sensor: dew_point | fields: depth, lat, type, qc
Task: Fetch value from pressure where unit exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000824 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, type, qc, reading
Sensor: turbidity | fields: reading, value, level, lon
Task: Fetch value from soil_moisture where value is greater than the minimum of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000825 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, lat, ts, value
Sensor: dew_point | fields: level, value, depth, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000826 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: reading, level, lon, ts
Sensor: air_quality | fields: lat, depth, reading, value
Task: Fetch depth from lightning where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000827 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lat, reading, qc, value
Sensor: uv_index | fields: lon, depth, unit, level
Task: Get reading from frost where depth exceeds the total reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000828 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lon, depth, qc, unit
Sensor: snow_depth | fields: lon, qc, lat, value
Task: Get lat from evaporation where value exceeds the maximum value from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000829 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, lat, lon, depth
Sensor: wind_speed | fields: reading, ts, depth, lat
Task: Retrieve level from turbidity with depth above the MIN(reading) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000830 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: ts, level, lon, unit
Sensor: drought_index | fields: value, ts, type, unit
Task: Retrieve lat from rainfall that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000831 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: ts, value, level, type
Sensor: visibility | fields: lat, value, reading, qc
Task: Retrieve lat from air_quality with depth above the MAX(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000832 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: value, ts, depth, reading
Sensor: visibility | fields: value, unit, reading, qc
Task: Retrieve lon from drought_index that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000833 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: type, unit, value, level
Sensor: uv_index | fields: value, unit, type, qc
Task: Fetch lat from visibility that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000834 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: level, reading, unit, ts
Sensor: drought_index | fields: lat, reading, unit, ts
Task: Get reading from pressure where value exceeds the total depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000835 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, level, lon, unit
Sensor: visibility | fields: value, level, lat, unit
Task: Get reading from uv_index where depth appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000836 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, reading, lat, value
Sensor: wind_speed | fields: ts, level, lat, type
Task: Retrieve value from snow_depth with value above the MIN(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000837 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, ts, unit, value
Sensor: visibility | fields: depth, value, qc, type
Task: Get value from cloud_cover where ts appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000838 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: level, qc, value, ts
Sensor: lightning | fields: value, depth, qc, lon
Task: Retrieve reading from turbidity that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000839 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: depth, qc, type, reading
Sensor: frost | fields: reading, lon, type, depth
Task: Get level from pressure where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000840 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, lat, reading, value
Sensor: lightning | fields: type, lon, ts, qc
Task: Fetch value from snow_depth where depth is greater than the total of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000841 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: unit, value, level, lat
Sensor: pressure | fields: unit, value, depth, lat
Task: Get lon from humidity where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000842 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: depth, value, level, qc
Sensor: temperature | fields: value, lon, ts, unit
Task: Retrieve reading from visibility that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000843 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, ts, lon, reading
Sensor: frost | fields: type, value, qc, level
Task: Get lon from visibility where type appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000844 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: level, lat, unit, depth
Sensor: snow_depth | fields: value, type, lat, reading
Task: Get value from uv_index where value exceeds the average reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000845 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, lat, level, reading
Sensor: snow_depth | fields: type, ts, lat, depth
Task: Retrieve depth from uv_index with depth above the MIN(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000846 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: depth, type, lon, reading
Sensor: visibility | fields: unit, lat, depth, ts
Task: Fetch level from evaporation that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000847 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, qc, unit, level
Sensor: snow_depth | fields: lon, value, depth, type
Task: Retrieve value from wind_speed that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000848 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, lon, level, ts
Sensor: visibility | fields: type, lat, reading, depth
Task: Get depth from uv_index where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000849 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lon, unit, type, ts
Sensor: lightning | fields: value, level, reading, qc
Task: Get reading from evaporation where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000850 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, level, value, lat
Sensor: turbidity | fields: unit, reading, depth, lat
Task: Fetch lat from snow_depth that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000851 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: reading, value, lat, qc
Sensor: uv_index | fields: reading, lat, ts, level
Task: Get lat from dew_point where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
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",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000852 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: ts, lat, reading, unit
Sensor: drought_index | fields: ts, value, level, type
Task: Retrieve value from pressure that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000853 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: type, depth, value, qc
Sensor: temperature | fields: lon, level, unit, reading
Task: Get lat from drought_index where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000854 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lat, unit, type
Sensor: rainfall | fields: depth, qc, ts, level
Task: Get reading from turbidity where reading exceeds the count of depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000855 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: type, lon, unit, qc
Sensor: drought_index | fields: level, reading, lat, value
Task: Retrieve depth from dew_point with reading above the MIN(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000856 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, reading, depth, ts
Sensor: uv_index | fields: lat, unit, depth, lon
Task: Retrieve lat from soil_moisture that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000857 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, unit, ts, type
Sensor: humidity | fields: value, ts, unit, lat
Task: Get value from snow_depth where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"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_000858 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: reading, lon, lat, ts
Sensor: temperature | fields: value, lon, lat, reading
Task: Get lon from uv_index where qc appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000859 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: qc, value, ts, reading
Sensor: frost | fields: qc, type, ts, reading
Task: Retrieve level from uv_index that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000860 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: value, lon, qc, lat
Sensor: sunlight | fields: level, lon, ts, qc
Task: Fetch depth from rainfall that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000861 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: value, lon, depth, unit
Sensor: air_quality | fields: reading, lon, ts, type
Task: Retrieve level from humidity whose type is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000862 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, qc, lon, value
Sensor: air_quality | fields: level, value, lat, lon
Task: Retrieve level from temperature whose depth is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000863 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: qc, ts, lon, level
Sensor: dew_point | fields: depth, unit, level, reading
Task: Get level from humidity where reading exceeds the maximum depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000864 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, value, reading, unit
Sensor: uv_index | fields: level, ts, lat, qc
Task: Get lat from visibility where qc appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000865 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: qc, lat, depth, ts
Sensor: evaporation | fields: value, qc, lat, reading
Task: Retrieve level from visibility that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000866 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: unit, lat, lon, reading
Sensor: frost | fields: lat, qc, reading, unit
Task: Get value from sunlight where value exceeds the minimum depth from frost for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000867 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: unit, level, ts, qc
Sensor: soil_moisture | fields: lon, ts, value, reading
Task: Fetch level from sunlight where qc exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000868 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, value, ts, type
Sensor: drought_index | fields: lon, level, type, lat
Task: Get value from cloud_cover where reading exceeds the maximum value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000869 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: level, type, value, reading
Sensor: cloud_cover | fields: ts, lat, value, unit
Task: Fetch lat from rainfall that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000870 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: reading, type, unit, level
Sensor: humidity | fields: type, level, depth, lat
Task: Get lat from rainfall where ts appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000871 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, unit, depth, level
Sensor: drought_index | fields: unit, lat, qc, reading
Task: Retrieve level from air_quality with depth above the MIN(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000872 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, depth, reading, value
Sensor: air_quality | fields: reading, lon, type, value
Task: Retrieve reading from soil_moisture that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000873 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: reading, lat, qc, lon
Sensor: snow_depth | fields: lat, unit, ts, type
Task: Retrieve level from visibility whose depth is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000874 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: ts, type, qc, depth
Sensor: turbidity | fields: unit, ts, type, depth
Task: Get value from pressure where depth appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000875 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: level, depth, qc, ts
Sensor: cloud_cover | fields: type, lat, unit, depth
Task: Retrieve depth from evaporation with depth above the COUNT(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000876 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, depth, ts, level
Sensor: wind_speed | fields: value, depth, qc, unit
Task: Fetch lat from soil_moisture where reading is greater than the average of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000877 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, value, level, reading
Sensor: air_quality | fields: depth, value, ts, reading
Task: Fetch lon from wind_speed that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000878 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, lon, depth, lat
Sensor: temperature | fields: lat, depth, level, type
Task: Retrieve level from soil_moisture that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000879 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, type, lat, ts
Sensor: cloud_cover | fields: ts, level, lon, lat
Task: Retrieve level from pressure with depth above the MAX(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000880 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, value, lat, qc
Sensor: visibility | fields: lon, type, depth, reading
Task: Fetch level from sunlight where depth is greater than the minimum of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000881 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, type, value, lon
Sensor: frost | fields: unit, reading, depth, level
Task: Retrieve level from cloud_cover that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000882 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, depth, lat, qc
Sensor: uv_index | fields: lon, reading, ts, level
Task: Get depth from cloud_cover where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000883 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, reading, ts, value
Sensor: temperature | fields: qc, level, depth, value
Task: Get reading from soil_moisture where type appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000884 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, qc, value, ts
Sensor: wind_speed | fields: reading, value, type, unit
Task: Get reading from snow_depth where value exceeds the maximum depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000885 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: unit, lon, depth, value
Sensor: rainfall | fields: depth, reading, ts, lat
Task: Get level from dew_point where depth exceeds the average reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000886 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, unit, ts, reading
Sensor: snow_depth | fields: type, reading, depth, qc
Task: Get value from soil_moisture where ts appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000887 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, type, lat, value
Sensor: rainfall | fields: level, lon, unit, qc
Task: Retrieve level from evaporation whose unit is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000888 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, value, depth, lon
Sensor: humidity | fields: depth, level, unit, qc
Task: Get level from snow_depth where qc appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000889 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lon, depth, reading, qc
Sensor: frost | fields: level, qc, unit, reading
Task: Get lat from turbidity where unit appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000890 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lon, unit, ts, value
Sensor: turbidity | fields: reading, lat, ts, unit
Task: Fetch level from lightning where ts exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000891 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, qc, lon, ts
Sensor: wind_speed | fields: reading, lon, unit, level
Task: Retrieve value from drought_index that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000892 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: value, ts, lon, qc
Sensor: sunlight | fields: reading, depth, type, lon
Task: Get level from turbidity where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000893 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: level, lat, depth, qc
Sensor: pressure | fields: ts, type, unit, depth
Task: Retrieve reading from dew_point that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000894 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, type, ts, value
Sensor: cloud_cover | fields: unit, level, depth, value
Task: Fetch lon from snow_depth where type exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000895 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, reading, level, lat
Sensor: lightning | fields: type, ts, level, unit
Task: Retrieve reading from rainfall whose unit is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000896 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, reading, value, unit
Sensor: humidity | fields: level, depth, value, lat
Task: Get depth from cloud_cover where value exceeds the maximum value from humidity for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000897 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: value, unit, lon, reading
Sensor: pressure | fields: level, qc, lat, ts
Task: Get reading from dew_point where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000898 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: qc, reading, type, depth
Sensor: sunlight | fields: lon, depth, reading, qc
Task: Get lon from frost where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.