variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: lightning | code: prt | fields: value, type, reading, lat
Sensor: pressure | fields: reading, depth, level, lon
Task: Get level from lightning where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000300 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: depth, ts, value, qc
Sensor: air_quality | fields: qc, lon, depth, unit
Task: Get lon from turbidity where value exceeds the maximum value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000301 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: reading, type, value, ts
Sensor: evaporation | fields: unit, depth, lat, reading
Task: Fetch depth from uv_index where depth exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000302 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: qc, reading, ts, depth
Sensor: turbidity | fields: ts, lon, lat, type
Task: Retrieve lon from pressure that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000303 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: level, reading, lat, lon
Sensor: cloud_cover | fields: type, value, unit, ts
Task: Fetch value from air_quality where reading is greater than the average of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000304 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, depth, ts, level
Sensor: wind_speed | fields: value, lon, level, depth
Task: Retrieve value from soil_moisture whose depth is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000305 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: reading, value, level, lat
Sensor: frost | fields: ts, level, lat, type
Task: Get lat from temperature where value exceeds the maximum reading from frost for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000306 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: unit, type, lon, value
Sensor: cloud_cover | fields: value, lat, type, level
Task: Get lat from frost where ts appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000307 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: unit, depth, reading, lon
Sensor: turbidity | fields: lat, depth, level, value
Task: Get level from lightning where depth exceeds the total depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000308 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: level, type, reading, ts
Sensor: turbidity | fields: depth, lat, lon, value
Task: Fetch reading from humidity where depth is greater than the maximum of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000309 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: unit, lon, level, value
Sensor: turbidity | fields: type, reading, unit, depth
Task: Fetch value from temperature that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000310 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: reading, value, depth, level
Sensor: uv_index | fields: reading, unit, type, qc
Task: Get lat from temperature where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"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_000311 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: ts, depth, unit, level
Sensor: lightning | fields: type, ts, level, value
Task: Retrieve lon from evaporation that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000312 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, unit, level, lon
Sensor: drought_index | fields: value, lon, unit, reading
Task: Get depth from cloud_cover where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000313 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, depth, lon, qc
Sensor: sunlight | fields: lon, reading, lat, depth
Task: Fetch depth from humidity that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000314 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, qc, lat, lon
Sensor: soil_moisture | fields: ts, reading, lat, type
Task: Fetch reading from cloud_cover where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000315 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: reading, depth, level, lat
Sensor: air_quality | fields: depth, level, value, lon
Task: Get lat from uv_index where depth exceeds the total reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000316 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: depth, reading, qc, value
Sensor: drought_index | fields: qc, depth, unit, reading
Task: Get level from temperature where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000317 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: unit, level, lon, depth
Sensor: air_quality | fields: type, qc, level, reading
Task: Get reading from lightning where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000318 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: value, lon, type, reading
Sensor: rainfall | fields: lat, ts, value, depth
Task: Get depth from lightning where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000319 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: qc, lon, reading, ts
Sensor: uv_index | fields: qc, value, ts, level
Task: Fetch level from visibility that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000320 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: qc, lon, level, unit
Sensor: lightning | fields: lat, unit, reading, lon
Task: Get lat from sunlight where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000321 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: type, ts, qc, depth
Sensor: cloud_cover | fields: qc, level, unit, lat
Task: Retrieve depth from uv_index whose type is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000322 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: reading, value, level, unit
Sensor: drought_index | fields: depth, ts, unit, qc
Task: Get lon from sunlight where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000323 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: lon, depth, type, ts
Sensor: rainfall | fields: ts, level, lon, qc
Task: Retrieve lat from uv_index whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000324 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: ts, level, depth, unit
Sensor: uv_index | fields: qc, lon, unit, level
Task: Retrieve level from rainfall that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000325 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: value, qc, level, reading
Sensor: rainfall | fields: type, value, unit, depth
Task: Get level from humidity where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000326 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, lat, reading, value
Sensor: frost | fields: lat, qc, depth, lon
Task: Retrieve level from soil_moisture whose type is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000327 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, qc, level, value
Sensor: evaporation | fields: qc, value, type, ts
Task: Fetch reading from cloud_cover where value is greater than the minimum of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000328 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: lat, depth, unit, type
Sensor: uv_index | fields: level, lat, unit, reading
Task: Retrieve reading from drought_index with value above the MAX(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000329 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lat, lon, ts, depth
Sensor: air_quality | fields: lat, lon, level, depth
Task: Get level from temperature where depth appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000330 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: value, type, depth, lon
Sensor: sunlight | fields: depth, lon, value, type
Task: Retrieve lon from temperature whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000331 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: level, lon, type, unit
Sensor: cloud_cover | fields: lon, value, level, type
Task: Get reading from visibility where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000332 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, ts, type, lat
Sensor: frost | fields: reading, unit, value, depth
Task: Retrieve lon from drought_index whose type is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000333 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lon, ts, level, reading
Sensor: snow_depth | fields: type, level, reading, ts
Task: Get lon from air_quality where qc appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000334 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, unit, qc, type
Sensor: sunlight | fields: level, unit, lat, qc
Task: Get reading from dew_point where unit appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000335 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: value, lat, qc, ts
Sensor: drought_index | fields: reading, qc, depth, ts
Task: Retrieve level from snow_depth that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000336 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: unit, value, lon, type
Sensor: frost | fields: depth, unit, qc, ts
Task: Fetch depth from humidity where ts exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000337 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: type, depth, lon, qc
Sensor: temperature | fields: level, depth, lon, unit
Task: Retrieve lat from air_quality with depth above the SUM(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000338 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, type, lat, ts
Sensor: temperature | fields: qc, value, lon, reading
Task: Retrieve level from wind_speed whose qc is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000339 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, value, lat, type
Sensor: visibility | fields: ts, type, lon, level
Task: Retrieve level from soil_moisture with depth above the MAX(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000340 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, value, lon, qc
Sensor: uv_index | fields: unit, reading, depth, qc
Task: Get depth from dew_point where ts appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000341 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, qc, ts, depth
Sensor: frost | fields: depth, reading, ts, value
Task: Get depth from visibility where ts appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000342 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: depth, lat, unit, lon
Sensor: soil_moisture | fields: lat, level, value, unit
Task: Retrieve lon from uv_index whose unit is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000343 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, lon, reading, level
Sensor: turbidity | fields: value, lon, depth, reading
Task: Retrieve depth from wind_speed that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000344 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lat, type, depth, qc
Sensor: lightning | fields: level, value, lat, unit
Task: Fetch level from evaporation that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000345 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: qc, depth, lon, level
Sensor: air_quality | fields: depth, type, reading, lat
Task: Get lat from sunlight where value exceeds the minimum value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000346 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lon, type, depth, unit
Sensor: air_quality | fields: type, ts, reading, lat
Task: Get lat from rainfall where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000347 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: reading, type, qc, depth
Sensor: soil_moisture | fields: ts, lon, value, level
Task: Get lat from frost where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000348 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, depth, lon, lat
Sensor: evaporation | fields: ts, value, level, type
Task: Retrieve reading from cloud_cover whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000349 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lon, unit, depth, level
Sensor: dew_point | fields: lat, value, unit, qc
Task: Get lat from temperature where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000350 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, qc, value, unit
Sensor: frost | fields: type, reading, value, level
Task: Fetch depth from soil_moisture where value is greater than the minimum of value in frost for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000351 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, unit, reading, level
Sensor: drought_index | fields: qc, lat, type, depth
Task: Fetch reading from snow_depth that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000352 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: value, lat, type, depth
Sensor: cloud_cover | fields: depth, unit, value, qc
Task: Get value from humidity where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000353 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: ts, type, lon, lat
Sensor: air_quality | fields: unit, lon, reading, type
Task: Get level from visibility where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000354 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, unit, lat, reading
Sensor: frost | fields: depth, reading, unit, qc
Task: Retrieve lon from dew_point that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000355 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, ts, reading, lat
Sensor: rainfall | fields: lon, qc, value, lat
Task: Fetch depth from dew_point that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000356 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, value, lat, level
Sensor: snow_depth | fields: level, type, lat, value
Task: Fetch reading from soil_moisture where depth is greater than the average of reading in snow_depth for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000357 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, lon, lat, reading
Sensor: pressure | fields: ts, level, lon, unit
Task: Get value from cloud_cover where reading exceeds the minimum value from pressure for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000358 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: value, ts, lon, lat
Sensor: air_quality | fields: unit, lon, level, qc
Task: Get value from pressure where reading exceeds the minimum reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000359 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, value, reading, lon
Sensor: pressure | fields: type, lat, level, reading
Task: Fetch lat from humidity that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000360 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lat, value, unit, ts
Sensor: frost | fields: reading, lon, depth, value
Task: Get level from dew_point where reading exceeds the count of depth from frost for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000361 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: qc, reading, ts, lat
Sensor: evaporation | fields: reading, unit, qc, lat
Task: Get depth from visibility where qc appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000362 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: value, lon, unit, reading
Sensor: rainfall | fields: reading, level, unit, qc
Task: Retrieve value from turbidity that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000363 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: type, qc, lat, ts
Sensor: pressure | fields: ts, level, lon, reading
Task: Get lon from sunlight where value exceeds the average value from pressure for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000364 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: ts, reading, lon, value
Sensor: uv_index | fields: depth, reading, value, level
Task: Retrieve lon from humidity whose depth is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000365 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, qc, value, level
Sensor: rainfall | fields: level, type, unit, lon
Task: Fetch reading from air_quality where depth exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000366 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, lon, ts, level
Sensor: dew_point | fields: type, unit, value, lon
Task: Retrieve lon from wind_speed with value above the COUNT(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000367 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: value, lat, level, depth
Sensor: uv_index | fields: value, lon, lat, qc
Task: Get lat from frost where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000368 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: qc, lat, lon, level
Sensor: evaporation | fields: unit, lon, depth, reading
Task: Fetch depth from dew_point where depth is greater than the count of of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000369 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: reading, lon, unit, ts
Sensor: sunlight | fields: lon, value, lat, depth
Task: Fetch depth from evaporation where depth is greater than the average of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000370 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: ts, unit, lat, reading
Sensor: rainfall | fields: lat, ts, unit, reading
Task: Get depth from pressure where type appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000371 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, depth, qc, reading
Sensor: sunlight | fields: level, qc, depth, lon
Task: Retrieve lat from turbidity with depth above the COUNT(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000372 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, level, unit, reading
Sensor: snow_depth | fields: lat, lon, ts, level
Task: Get level from soil_moisture where reading exceeds the minimum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000373 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: level, unit, ts, depth
Sensor: evaporation | fields: ts, lat, value, type
Task: Get level from dew_point where value exceeds the count of reading from evaporation for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000374 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: unit, qc, ts, value
Sensor: evaporation | fields: lat, ts, reading, type
Task: Fetch reading from lightning where depth exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000375 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: level, qc, type, reading
Sensor: drought_index | fields: level, value, type, depth
Task: Get reading from turbidity where reading exceeds the count of depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000376 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: type, depth, lon, ts
Sensor: wind_speed | fields: depth, ts, value, lat
Task: Get depth from humidity where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000377 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: lon, depth, type, lat
Sensor: dew_point | fields: level, type, value, reading
Task: Fetch lat from evaporation where value is greater than the maximum of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000378 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lon, level, type, unit
Sensor: visibility | fields: qc, type, unit, lon
Task: Get lon from frost where qc appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000379 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, lon, unit, type
Sensor: snow_depth | fields: depth, value, type, qc
Task: Retrieve depth from wind_speed that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000380 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, type, depth, lon
Sensor: snow_depth | fields: lon, ts, unit, level
Task: Retrieve depth from cloud_cover that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000381 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, lon, value, depth
Sensor: pressure | fields: value, qc, lat, lon
Task: Retrieve lon from sunlight whose depth is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000382 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, ts, depth, reading
Sensor: uv_index | fields: level, value, depth, ts
Task: Fetch lon from evaporation where value is greater than the average of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000383 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, reading, depth, lon
Sensor: lightning | fields: reading, level, qc, ts
Task: Fetch level from evaporation where ts exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000384 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lon, qc, unit, reading
Sensor: temperature | fields: lat, type, depth, qc
Task: Get reading from frost where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000385 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lat, reading, qc, type
Sensor: humidity | fields: depth, unit, reading, lon
Task: Fetch level from frost that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000386 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: ts, depth, qc, unit
Sensor: visibility | fields: value, lon, type, reading
Task: Retrieve lon from lightning that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000387 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lon, level, type, unit
Sensor: air_quality | fields: lon, unit, qc, depth
Task: Get level from turbidity where ts appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000388 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: level, unit, depth, lat
Sensor: air_quality | fields: level, lat, unit, type
Task: Fetch reading from visibility where qc exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000389 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: unit, lon, reading, ts
Sensor: drought_index | fields: lat, unit, depth, type
Task: Retrieve reading from dew_point whose unit is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000390 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: depth, reading, ts, type
Sensor: air_quality | fields: qc, depth, reading, ts
Task: Get value from lightning where reading exceeds the maximum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000391 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lat, level, depth, ts
Sensor: humidity | fields: reading, type, ts, lon
Task: Get depth from lightning where depth exceeds the total value from humidity for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000392 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, value, qc, type
Sensor: soil_moisture | fields: lon, qc, reading, lat
Task: Get lon from frost where value exceeds the total depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000393 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: type, reading, level, lon
Sensor: uv_index | fields: depth, level, lat, reading
Task: Get depth from dew_point where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000394 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: ts, unit, qc, lon
Sensor: wind_speed | fields: unit, lat, lon, type
Task: Get lon from humidity where unit appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000395 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, reading, lon, type
Sensor: snow_depth | fields: depth, ts, lon, qc
Task: Retrieve lat from dew_point with value above the MIN(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000396 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: ts, depth, type, lat
Sensor: lightning | fields: type, unit, value, depth
Task: Retrieve depth from uv_index whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000397 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lat, depth, type, value
Sensor: drought_index | fields: type, lat, unit, qc
Task: Fetch lat from dew_point where ts exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000398 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: reading, qc, lon, value
Sensor: pressure | fields: lon, type, level, reading
Task: Retrieve value from visibility that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.