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: wind_speed | code: thr | fields: value, type, lon, level
Sensor: soil_moisture | fields: unit, level, lat, depth
Task: Retrieve level from wind_speed with reading above the MAX(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038800 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: value, type, lon, reading
Sensor: soil_moisture | fields: lat, value, reading, lon
Task: Get level from drought_index where value exceeds the maximum depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038801 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, unit, value, level
Sensor: air_quality | fields: lon, value, depth, unit
Task: Get lon from pressure where reading exceeds the total reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038802 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: unit, lon, qc, value
Sensor: wind_speed | fields: qc, ts, lat, value
Task: Get level from humidity where reading exceeds the maximum reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038803 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, lon, value, unit
Sensor: temperature | fields: depth, lon, qc, lat
Task: Retrieve reading from humidity with depth above the AVG(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038804 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: qc, lat, type, level
Sensor: frost | fields: value, lon, level, type
Task: Retrieve depth from evaporation that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038805 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: value, depth, lon, qc
Sensor: cloud_cover | fields: ts, lat, level, type
Task: Fetch lon from uv_index that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038806 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, lon, depth, value
Sensor: soil_moisture | fields: qc, unit, value, reading
Task: Fetch lon from frost that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038807 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: reading, lon, unit, depth
Sensor: visibility | fields: ts, type, reading, lon
Task: Get reading from uv_index where reading exceeds the minimum depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038808 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: ts, level, lon, type
Sensor: uv_index | fields: lat, lon, value, qc
Task: Fetch lat from turbidity that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038809 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: unit, ts, lat, reading
Sensor: lightning | fields: depth, level, reading, type
Task: Retrieve level from humidity with reading above the SUM(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038810 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: value, depth, level, ts
Sensor: humidity | fields: lon, reading, value, level
Task: Retrieve lat from uv_index that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038811 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: type, value, depth, ts
Sensor: wind_speed | fields: reading, value, type, lon
Task: Get reading from frost where value exceeds the total reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038812 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: unit, type, reading, qc
Sensor: temperature | fields: unit, qc, value, reading
Task: Get value from dew_point where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038813 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lat, unit, lon, qc
Sensor: lightning | fields: depth, qc, lat, reading
Task: Fetch reading from temperature where depth exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038814 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, reading, type, unit
Sensor: evaporation | fields: lon, level, depth, qc
Task: Get lon from lightning where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038815 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: reading, ts, unit, level
Sensor: snow_depth | fields: value, level, unit, ts
Task: Fetch reading from drought_index that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038816 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, reading, value, depth
Sensor: wind_speed | fields: unit, lon, value, type
Task: Retrieve value from uv_index that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038817 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: level, lat, value, qc
Sensor: visibility | fields: ts, unit, depth, type
Task: Retrieve lon from rainfall whose ts is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038818 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: level, depth, ts, value
Sensor: cloud_cover | fields: type, unit, qc, value
Task: Fetch reading from visibility that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038819 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, qc, level, value
Sensor: sunlight | fields: lat, qc, reading, value
Task: Retrieve value from snow_depth that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038820 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, level, type, ts
Sensor: sunlight | fields: depth, value, lat, unit
Task: Retrieve level from snow_depth with reading above the MAX(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038821 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, lon, type, qc
Sensor: frost | fields: unit, reading, qc, lat
Task: Get lon from wind_speed where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038822 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, value, lon, qc
Sensor: visibility | fields: lon, type, qc, lat
Task: Get value from cloud_cover where reading exceeds the minimum value from visibility for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038823 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: value, qc, type, unit
Sensor: rainfall | fields: lat, value, level, type
Task: Retrieve level from lightning whose type is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038824 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: reading, value, lon, lat
Sensor: cloud_cover | fields: type, qc, lat, value
Task: Fetch reading from drought_index where type exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038825 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, depth, level, ts
Sensor: wind_speed | fields: ts, lon, level, value
Task: Fetch depth from cloud_cover where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038826 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: value, depth, lon, ts
Sensor: turbidity | fields: lon, value, ts, qc
Task: Get level from temperature where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038827 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: reading, ts, level, lon
Sensor: rainfall | fields: reading, ts, unit, qc
Task: Fetch lon from temperature that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038828 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lat, reading, qc, ts
Sensor: humidity | fields: qc, lat, type, value
Task: Get depth from drought_index where value exceeds the minimum reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038829 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: level, reading, depth, value
Sensor: sunlight | fields: ts, lat, level, reading
Task: Retrieve depth from humidity whose qc is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038830 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: type, ts, qc, lon
Sensor: cloud_cover | fields: depth, lat, reading, type
Task: Get lat from turbidity where depth exceeds the maximum reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038831 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lon, reading, value, type
Sensor: humidity | fields: reading, lon, ts, type
Task: Retrieve reading from uv_index whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038832 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: level, reading, qc, type
Sensor: visibility | fields: type, ts, qc, depth
Task: Get depth from turbidity where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038833 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, depth, value, level
Sensor: temperature | fields: value, depth, type, reading
Task: Fetch reading from uv_index where ts exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038834 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: depth, lat, level, lon
Sensor: frost | fields: qc, depth, level, value
Task: Fetch value from dew_point where ts exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038835 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: depth, lon, lat, qc
Sensor: dew_point | fields: value, qc, ts, unit
Task: Retrieve depth from humidity that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038836 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, value, type, qc
Sensor: visibility | fields: depth, qc, ts, value
Task: Fetch depth from humidity where reading is greater than the maximum of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038837 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lon, lat, type, value
Sensor: air_quality | fields: lon, ts, value, lat
Task: Get lon from uv_index where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038838 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: reading, type, lat, level
Sensor: evaporation | fields: reading, type, ts, depth
Task: Get value from dew_point where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038839 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: qc, depth, reading, lon
Sensor: sunlight | fields: ts, level, value, type
Task: Get value from rainfall where unit appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038840 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: type, value, lat, ts
Sensor: sunlight | fields: value, level, qc, reading
Task: Retrieve lat from snow_depth whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038841 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, unit, lon, type
Sensor: snow_depth | fields: lat, lon, unit, level
Task: Fetch lon from cloud_cover that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038842 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: ts, qc, unit, lon
Sensor: turbidity | fields: lat, unit, lon, level
Task: Retrieve lat from air_quality that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"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_038843 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, level, type, lon
Sensor: sunlight | fields: depth, ts, value, lon
Task: Retrieve lon from soil_moisture whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038844 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, lon, unit, lat
Sensor: drought_index | fields: lat, value, depth, reading
Task: Retrieve depth from sunlight whose depth is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038845 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: qc, lon, level, depth
Sensor: humidity | fields: unit, lat, lon, reading
Task: Retrieve depth from turbidity that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038846 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lat, unit, lon, type
Sensor: sunlight | fields: lat, ts, unit, lon
Task: Fetch reading from temperature where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038847 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: qc, reading, ts, level
Sensor: pressure | fields: type, level, reading, lon
Task: Get level from humidity where reading exceeds the count of value from pressure for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038848 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: value, qc, lat, type
Sensor: evaporation | fields: type, ts, level, lon
Task: Get value from visibility where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038849 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: qc, lat, lon, depth
Sensor: turbidity | fields: qc, ts, value, reading
Task: Fetch value from humidity where reading is greater than the count of of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038850 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, value, lon, qc
Sensor: cloud_cover | fields: type, reading, depth, unit
Task: Get value from visibility where value exceeds the maximum depth from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038851 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, depth, value, qc
Sensor: evaporation | fields: qc, type, lat, value
Task: Retrieve depth from sunlight that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038852 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, lat, unit, depth
Sensor: lightning | fields: unit, ts, level, depth
Task: Fetch reading from drought_index where type exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038853 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, value, qc, level
Sensor: dew_point | fields: lon, level, lat, reading
Task: Retrieve level from sunlight whose type is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038854 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, reading, lat, value
Sensor: rainfall | fields: reading, unit, value, lon
Task: Retrieve depth from cloud_cover with depth above the MAX(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038855 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: value, level, lon, unit
Sensor: cloud_cover | fields: ts, lon, lat, type
Task: Get value from rainfall where depth appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038856 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, lat, unit, value
Sensor: wind_speed | fields: qc, type, level, lon
Task: Get reading from cloud_cover where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038857 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: type, lat, depth, reading
Sensor: humidity | fields: reading, value, depth, qc
Task: Fetch lat from frost that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038858 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: value, type, depth, ts
Sensor: snow_depth | fields: lon, level, qc, reading
Task: Retrieve lat from wind_speed that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038859 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: depth, qc, reading, lon
Sensor: evaporation | fields: level, lon, value, ts
Task: Fetch level from air_quality where ts exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038860 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: depth, lat, lon, unit
Sensor: visibility | fields: level, value, reading, ts
Task: Fetch value from turbidity that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038861 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, ts, unit, lat
Sensor: uv_index | fields: lon, level, lat, unit
Task: Get lat from sunlight where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"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_038862 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, reading, value, depth
Sensor: visibility | fields: reading, value, unit, level
Task: Get value from uv_index where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038863 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lat, ts, qc, unit
Sensor: dew_point | fields: value, ts, depth, qc
Task: Get depth from sunlight where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038864 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: depth, level, lat, ts
Sensor: air_quality | fields: level, type, ts, depth
Task: Get lat from pressure where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038865 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, qc, level, type
Sensor: soil_moisture | fields: qc, unit, reading, lon
Task: Get lat from rainfall where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038866 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: level, depth, lon, lat
Sensor: frost | fields: type, value, depth, lon
Task: Get lat from rainfall where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038867 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lon, unit, ts, lat
Sensor: temperature | fields: qc, value, unit, level
Task: Fetch value from pressure where depth is greater than the count of of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038868 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lat, qc, type, ts
Sensor: evaporation | fields: lat, level, reading, lon
Task: Retrieve lat from humidity whose type is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038869 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lat, reading, value, depth
Sensor: frost | fields: qc, lat, depth, ts
Task: Get level from air_quality where value exceeds the minimum depth from frost for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038870 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: level, reading, value, depth
Sensor: cloud_cover | fields: qc, lon, value, level
Task: Fetch lon from dew_point where value is greater than the maximum of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038871 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, value, type, lat
Sensor: lightning | fields: qc, value, unit, depth
Task: Fetch value from dew_point where depth exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038872 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: reading, depth, lat, type
Sensor: rainfall | fields: depth, lon, type, ts
Task: Retrieve lon from pressure whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038873 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, reading, qc, ts
Sensor: drought_index | fields: depth, level, value, type
Task: Fetch level from rainfall where depth is greater than the total of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038874 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, ts, reading, type
Sensor: lightning | fields: lat, value, unit, qc
Task: Retrieve depth from rainfall whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038875 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: ts, lat, lon, depth
Sensor: frost | fields: value, ts, type, lat
Task: Fetch value from rainfall where value is greater than the count of of value in frost for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038876 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, ts, unit, value
Sensor: turbidity | fields: lon, reading, qc, value
Task: Retrieve lat from sunlight with reading above the MAX(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038877 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lon, level, depth, unit
Sensor: uv_index | fields: reading, level, type, value
Task: Get level from dew_point where type appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038878 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, level, depth, unit
Sensor: wind_speed | fields: ts, qc, unit, reading
Task: Fetch level from humidity where depth is greater than the average of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038879 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: qc, level, depth, reading
Sensor: air_quality | fields: lon, unit, reading, depth
Task: Fetch lon from visibility where value is greater than the maximum of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038880 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, ts, level, lon
Sensor: air_quality | fields: depth, ts, level, lon
Task: Retrieve value from frost whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038881 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, reading, unit, ts
Sensor: cloud_cover | fields: depth, type, lon, ts
Task: Get reading from soil_moisture where reading exceeds the minimum value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038882 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: ts, value, qc, depth
Sensor: humidity | fields: lon, value, depth, reading
Task: Retrieve depth from rainfall whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038883 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lat, ts, unit, lon
Sensor: humidity | fields: type, qc, ts, unit
Task: Fetch value from rainfall where ts exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038884 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, qc, value, lon
Sensor: lightning | fields: ts, depth, type, qc
Task: Fetch depth from visibility where type exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038885 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, qc, ts, reading
Sensor: drought_index | fields: type, qc, value, unit
Task: Retrieve reading from snow_depth whose unit is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038886 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: type, unit, level, lat
Sensor: pressure | fields: type, level, qc, lat
Task: Retrieve lon from turbidity that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038887 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lon, type, unit, depth
Sensor: air_quality | fields: level, unit, value, qc
Task: Fetch depth from drought_index where type exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038888 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, type, qc, ts
Sensor: humidity | fields: lat, qc, type, unit
Task: Get reading from wind_speed where reading exceeds the average depth from humidity for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038889 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: unit, lat, lon, value
Sensor: pressure | fields: unit, lon, value, reading
Task: Fetch level from temperature that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038890 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, type, lon, value
Sensor: pressure | fields: depth, reading, type, lat
Task: Get reading from sunlight where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"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_038891 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: unit, reading, value, level
Sensor: dew_point | fields: lon, reading, qc, value
Task: Fetch level from rainfall where reading is greater than the minimum of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038892 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, qc, ts, depth
Sensor: snow_depth | fields: lon, lat, ts, reading
Task: Fetch lon from drought_index that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038893 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, lat, value, unit
Sensor: rainfall | fields: ts, unit, value, level
Task: Fetch lon from visibility that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038894 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: value, level, unit, depth
Sensor: evaporation | fields: value, qc, lat, ts
Task: Retrieve depth from snow_depth that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038895 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, lat, lon, reading
Sensor: dew_point | fields: type, ts, reading, value
Task: Get lon from drought_index where depth exceeds the minimum value from dew_point for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038896 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: reading, unit, level, qc
Sensor: dew_point | fields: value, depth, lat, reading
Task: Get lat from humidity where depth appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038897 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: ts, depth, lat, unit
Sensor: cloud_cover | fields: qc, value, type, ts
Task: Fetch value from pressure where depth is greater than the count of of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038898 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, level, depth, qc
Sensor: lightning | fields: lon, type, ts, reading
Task: Retrieve lon from cloud_cover with value above the MIN(depth) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.