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: clr | fields: qc, unit, ts, level
Sensor: evaporation | fields: ts, type, reading, depth
Task: Fetch value from wind_speed where reading is greater than the average of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044700 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lat, qc, ts, lon
Sensor: cloud_cover | fields: lon, value, reading, depth
Task: Retrieve reading from lightning with reading above the SUM(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044701 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: type, level, lon, lat
Sensor: humidity | fields: depth, reading, ts, type
Task: Get reading from rainfall where ts appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044702 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: level, value, lon, qc
Sensor: wind_speed | fields: reading, value, depth, qc
Task: Retrieve reading from turbidity with value above the SUM(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044703 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: type, depth, lon, ts
Sensor: uv_index | fields: qc, reading, level, type
Task: Retrieve lon from air_quality whose unit is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044704 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: unit, qc, lat, type
Sensor: rainfall | fields: lon, level, ts, reading
Task: Retrieve depth from sunlight that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044705 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, lon, depth, reading
Sensor: sunlight | fields: type, qc, lat, value
Task: Get lon from turbidity where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044706 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, ts, level, unit
Sensor: wind_speed | fields: reading, lat, value, unit
Task: Retrieve lat from turbidity with reading above the SUM(reading) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044707 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: level, reading, unit, type
Sensor: drought_index | fields: reading, depth, lon, lat
Task: Retrieve level from evaporation whose unit is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044708 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: qc, unit, value, lat
Sensor: soil_moisture | fields: qc, lon, depth, ts
Task: Fetch depth from frost where depth is greater than the maximum of value in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044709 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lat, value, type, ts
Sensor: uv_index | fields: unit, lon, qc, ts
Task: Fetch level from sunlight that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044710 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: qc, depth, reading, value
Sensor: temperature | fields: depth, qc, ts, level
Task: Fetch lat from humidity where unit exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044711 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: depth, reading, type, lat
Sensor: lightning | fields: reading, depth, lat, unit
Task: Fetch lon from air_quality that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044712 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: value, type, level, reading
Sensor: frost | fields: unit, lat, qc, depth
Task: Fetch reading from rainfall where ts exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044713 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, lat, qc, level
Sensor: soil_moisture | fields: ts, reading, unit, qc
Task: Fetch level from wind_speed that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044714 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: value, lon, reading, unit
Sensor: snow_depth | fields: reading, level, qc, depth
Task: Fetch reading from turbidity where ts exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044715 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, lon, type, unit
Sensor: air_quality | fields: lat, depth, reading, type
Task: Get value from visibility where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044716 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, level, lat, reading
Sensor: cloud_cover | fields: type, lon, qc, ts
Task: Retrieve reading from soil_moisture whose unit is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044717 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: value, qc, unit, type
Sensor: pressure | fields: lon, qc, reading, lat
Task: Fetch value from sunlight where depth is greater than the total of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044718 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: type, value, reading, unit
Sensor: air_quality | fields: depth, type, lat, value
Task: Retrieve lat from temperature with depth above the MAX(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044719 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: level, ts, depth, reading
Sensor: sunlight | fields: depth, qc, type, lat
Task: Get reading from evaporation where depth exceeds the total value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044720 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: type, ts, lat, unit
Sensor: sunlight | fields: ts, unit, depth, level
Task: Retrieve value from turbidity that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044721 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, unit, ts, reading
Sensor: lightning | fields: reading, lon, qc, unit
Task: Fetch lat from cloud_cover where ts exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044722 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: depth, reading, level, ts
Sensor: frost | fields: level, unit, type, depth
Task: Fetch level from temperature where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044723 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: value, type, unit, lon
Sensor: frost | fields: qc, lat, value, lon
Task: Retrieve value from air_quality with depth above the AVG(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044724 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: unit, lat, depth, value
Sensor: soil_moisture | fields: qc, unit, reading, type
Task: Retrieve lon from uv_index with depth above the MAX(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044725 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: unit, value, reading, qc
Sensor: sunlight | fields: lon, level, unit, lat
Task: Retrieve lat from uv_index that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044726 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, lat, depth, ts
Sensor: lightning | fields: level, value, depth, lat
Task: Fetch depth from turbidity that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044727 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, depth, lat, level
Sensor: humidity | fields: value, unit, lat, level
Task: Get reading from turbidity where reading exceeds the minimum reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044728 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: value, ts, lon, depth
Sensor: temperature | fields: qc, unit, ts, lon
Task: Get lon from pressure where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044729 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lon, ts, type, qc
Sensor: uv_index | fields: qc, lon, level, value
Task: Get depth from temperature where value exceeds the average value from uv_index for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044730 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: qc, reading, ts, depth
Sensor: rainfall | fields: value, qc, level, type
Task: Retrieve level from turbidity whose type is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044731 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: ts, unit, value, level
Sensor: turbidity | fields: unit, ts, level, lon
Task: Get level from drought_index where qc appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044732 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, level, depth, unit
Sensor: air_quality | fields: ts, lat, lon, value
Task: Get depth from lightning where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044733 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, type, value, reading
Sensor: visibility | fields: lat, depth, value, qc
Task: Fetch reading from sunlight that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044734 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lon, qc, level, type
Sensor: air_quality | fields: reading, unit, level, qc
Task: Get level from sunlight where reading exceeds the total reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044735 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lat, reading, depth, unit
Sensor: snow_depth | fields: type, reading, level, lon
Task: Retrieve value from rainfall that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044736 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, unit, level, value
Sensor: evaporation | fields: level, type, lon, lat
Task: Get level from visibility where reading exceeds the minimum reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044737 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, ts, qc, unit
Sensor: evaporation | fields: ts, lon, depth, value
Task: Fetch depth from soil_moisture that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044738 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: ts, lat, depth, value
Sensor: cloud_cover | fields: value, type, qc, unit
Task: Retrieve depth from sunlight whose qc is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044739 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lat, ts, lon, value
Sensor: drought_index | fields: ts, lat, reading, depth
Task: Retrieve lat from dew_point that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044740 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: qc, type, depth, unit
Sensor: temperature | fields: unit, type, qc, lat
Task: Retrieve level from pressure with value above the MIN(reading) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044741 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, unit, depth, lat
Sensor: soil_moisture | fields: lat, ts, lon, qc
Task: Get depth from pressure where value exceeds the total value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044742 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: value, ts, reading, unit
Sensor: pressure | fields: value, level, depth, unit
Task: Fetch lon from dew_point where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044743 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, qc, value, depth
Sensor: uv_index | fields: depth, qc, reading, lon
Task: Get reading from snow_depth where value exceeds the total depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044744 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lat, value, unit, qc
Sensor: turbidity | fields: value, ts, type, depth
Task: Get depth from evaporation where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044745 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: value, qc, lat, level
Sensor: sunlight | fields: qc, lon, unit, value
Task: Get depth from frost where depth appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044746 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: ts, unit, qc, lon
Sensor: frost | fields: value, unit, lat, qc
Task: Get value from turbidity where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044747 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, ts, depth, value
Sensor: lightning | fields: level, ts, lat, qc
Task: Get value from evaporation where ts appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044748 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: value, type, qc, unit
Sensor: wind_speed | fields: level, ts, unit, reading
Task: Fetch reading from lightning that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044749 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: unit, level, lat, type
Sensor: soil_moisture | fields: type, level, depth, ts
Task: Fetch depth from sunlight where value is greater than the total of value in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044750 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, lon, qc, reading
Sensor: temperature | fields: unit, lon, reading, ts
Task: Retrieve depth from wind_speed that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044751 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: depth, type, level, lon
Sensor: temperature | fields: ts, unit, lon, value
Task: Get lon from uv_index where value exceeds the minimum reading from temperature for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044752 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, lon, reading, unit
Sensor: soil_moisture | fields: value, ts, depth, type
Task: Get lon from pressure where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044753 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: type, lat, ts, qc
Sensor: visibility | fields: value, level, unit, lon
Task: Get value from air_quality where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044754 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, lat, type, qc
Sensor: snow_depth | fields: reading, level, lat, unit
Task: Fetch lat from visibility where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044755 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, depth, lon, ts
Sensor: snow_depth | fields: reading, lat, type, value
Task: Retrieve reading from soil_moisture whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044756 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, lat, reading, type
Sensor: visibility | fields: ts, lat, reading, level
Task: Fetch level from snow_depth that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044757 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, level, lon, value
Sensor: dew_point | fields: lon, lat, depth, ts
Task: Retrieve level from rainfall whose type is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044758 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: depth, lon, type, value
Sensor: lightning | fields: qc, ts, reading, type
Task: Retrieve depth from pressure that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044759 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, lon, qc, lat
Sensor: humidity | fields: ts, lon, qc, reading
Task: Fetch lat from sunlight that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"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_044760 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: depth, reading, lon, lat
Sensor: pressure | fields: qc, type, depth, lon
Task: Retrieve value from evaporation that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044761 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: reading, level, qc, depth
Sensor: humidity | fields: value, depth, reading, level
Task: Get depth from frost where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044762 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lon, qc, type, ts
Sensor: drought_index | fields: lat, qc, reading, value
Task: Get value from temperature where type appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044763 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, depth, lon, ts
Sensor: pressure | fields: type, unit, lon, lat
Task: Retrieve reading from uv_index that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044764 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: reading, level, type, value
Sensor: lightning | fields: reading, lon, depth, ts
Task: Retrieve lat from turbidity that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044765 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: lat, unit, lon, ts
Sensor: frost | fields: lon, type, unit, value
Task: Get value from lightning where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044766 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, qc, level, type
Sensor: turbidity | fields: level, qc, lon, type
Task: Retrieve depth from soil_moisture that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044767 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lat, depth, level, type
Sensor: temperature | fields: value, reading, depth, type
Task: Retrieve lat from uv_index whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044768 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: type, lon, reading, qc
Sensor: soil_moisture | fields: level, lon, lat, reading
Task: Retrieve value from sunlight that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044769 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: reading, qc, lat, lon
Sensor: uv_index | fields: lat, lon, ts, value
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="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044770 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: ts, lat, lon, depth
Sensor: humidity | fields: value, level, lat, reading
Task: Get lat from visibility where reading exceeds the maximum reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"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_044771 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, lon, ts, qc
Sensor: temperature | fields: depth, value, type, ts
Task: Retrieve lat from soil_moisture with depth above the MIN(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044772 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: depth, lat, lon, level
Sensor: air_quality | fields: type, lon, qc, lat
Task: Retrieve depth from dew_point with depth above the AVG(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044773 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: qc, lat, ts, level
Sensor: drought_index | fields: type, level, lat, reading
Task: Fetch lat from humidity where reading is greater than the average of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044774 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: type, reading, unit, value
Sensor: pressure | fields: reading, value, lon, qc
Task: Fetch level from turbidity that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044775 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, qc, reading, depth
Sensor: frost | fields: depth, qc, value, type
Task: Retrieve depth from soil_moisture with reading above the SUM(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044776 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: qc, reading, ts, unit
Sensor: dew_point | fields: depth, qc, lon, reading
Task: Retrieve lon from temperature whose ts is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044777 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, reading, value, lon
Sensor: drought_index | fields: unit, depth, qc, reading
Task: Get value from temperature where depth appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044778 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: depth, level, ts, value
Sensor: soil_moisture | fields: ts, level, lat, value
Task: Get value from humidity where ts appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044779 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, level, ts, type
Sensor: rainfall | fields: type, qc, level, ts
Task: Fetch lat from soil_moisture that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044780 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: level, unit, depth, value
Sensor: uv_index | fields: qc, type, depth, unit
Task: Retrieve lat from dew_point whose unit is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044781 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: qc, lon, unit, reading
Sensor: cloud_cover | fields: qc, reading, ts, unit
Task: Fetch lat from dew_point that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044782 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: unit, type, level, value
Sensor: cloud_cover | fields: value, lon, unit, level
Task: Fetch value from air_quality where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044783 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, depth, lat, reading
Sensor: drought_index | fields: lon, qc, reading, depth
Task: Get reading from rainfall where value exceeds the average depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044784 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, lon, lat, reading
Sensor: wind_speed | fields: lat, level, qc, depth
Task: Get reading from soil_moisture where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044785 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, depth, lat, qc
Sensor: turbidity | fields: lon, reading, unit, qc
Task: Retrieve lat from soil_moisture whose type is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044786 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: depth, value, ts, unit
Sensor: pressure | fields: lat, depth, type, qc
Task: Get reading from humidity where value exceeds the count of reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044787 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: value, ts, lon, lat
Sensor: lightning | fields: depth, type, level, ts
Task: Get lat from sunlight where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044788 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: value, qc, lon, reading
Sensor: turbidity | fields: lon, lat, ts, value
Task: Retrieve level from wind_speed whose depth is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044789 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, value, lon, reading
Sensor: air_quality | fields: value, level, depth, reading
Task: Retrieve lon from soil_moisture with value above the AVG(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044790 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: qc, lon, level, value
Sensor: temperature | fields: type, lon, ts, level
Task: Retrieve level from frost that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044791 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: depth, reading, level, ts
Sensor: humidity | fields: type, value, depth, ts
Task: Fetch level from drought_index that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044792 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, ts, value, lat
Sensor: wind_speed | fields: type, qc, depth, unit
Task: Get depth from snow_depth where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044793 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lat, lon, qc, depth
Sensor: air_quality | fields: level, qc, lon, ts
Task: Get level from rainfall where depth exceeds the total value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044794 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, lat, ts, qc
Sensor: uv_index | fields: qc, level, ts, depth
Task: Retrieve lat from cloud_cover with depth above the MIN(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044795 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, unit, reading, qc
Sensor: lightning | fields: qc, lon, lat, ts
Task: Retrieve value from cloud_cover with reading above the MIN(depth) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044796 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, value, type, reading
Sensor: visibility | fields: unit, value, lat, reading
Task: Retrieve reading from cloud_cover whose depth is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044797 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: level, lon, lat, value
Sensor: turbidity | fields: lon, unit, ts, value
Task: Get level from uv_index where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044798 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: unit, lon, level, depth
Sensor: dew_point | fields: lon, unit, reading, lat
Task: Get lat from pressure where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.