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: snow_depth | code: prt | fields: type, qc, reading, depth
Sensor: evaporation | fields: reading, unit, depth, ts
Task: Get value from snow_depth where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059500 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: qc, value, ts, lon
Sensor: turbidity | fields: ts, reading, qc, level
Task: Fetch value from air_quality where depth is greater than the maximum of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059501 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: type, unit, lon, qc
Sensor: air_quality | fields: lat, lon, level, qc
Task: Retrieve reading from humidity with reading above the AVG(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059502 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: unit, reading, value, depth
Sensor: snow_depth | fields: reading, level, ts, lat
Task: Fetch value from turbidity where value is greater than the maximum of depth in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059503 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, lat, level, value
Sensor: drought_index | fields: value, ts, unit, qc
Task: Retrieve depth from wind_speed with value above the MIN(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059504 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: level, unit, depth, qc
Sensor: frost | fields: ts, type, lat, lon
Task: Fetch level from wind_speed where depth exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059505 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, type, reading, value
Sensor: dew_point | fields: depth, qc, value, lon
Task: Get lon from soil_moisture where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059506 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: depth, lon, reading, level
Sensor: air_quality | fields: ts, lat, qc, level
Task: Retrieve lat from uv_index whose ts is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059507 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: unit, depth, level, ts
Sensor: wind_speed | fields: reading, qc, value, lat
Task: Fetch lon from uv_index where ts exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059508 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, lat, reading, lon
Sensor: air_quality | fields: lat, unit, ts, value
Task: Get reading from soil_moisture where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059509 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, lon, lat, ts
Sensor: temperature | fields: lon, type, depth, lat
Task: Retrieve value from soil_moisture that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059510 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: depth, type, qc, unit
Sensor: wind_speed | fields: ts, reading, unit, lon
Task: Fetch value from frost that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059511 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: depth, lat, unit, reading
Sensor: dew_point | fields: level, qc, type, lat
Task: Fetch value from temperature that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059512 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, reading, level, unit
Sensor: wind_speed | fields: level, lat, lon, reading
Task: Get level from visibility where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059513 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lat, type, depth, reading
Sensor: turbidity | fields: level, value, unit, type
Task: Get lat from uv_index where type appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059514 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: ts, value, depth, level
Sensor: rainfall | fields: ts, lat, level, qc
Task: Fetch level from air_quality where value is greater than the maximum of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"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_059515 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: level, qc, lon, ts
Sensor: turbidity | fields: type, ts, reading, lon
Task: Retrieve depth from air_quality that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059516 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: ts, type, reading, lon
Sensor: evaporation | fields: lat, lon, ts, depth
Task: Retrieve depth from uv_index with value above the AVG(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059517 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, depth, reading, lon
Sensor: frost | fields: type, lon, depth, reading
Task: Get lon from rainfall where type appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059518 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lon, reading, value, depth
Sensor: visibility | fields: reading, lon, qc, type
Task: Fetch value from temperature that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059519 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: qc, depth, level, unit
Sensor: frost | fields: lon, unit, lat, ts
Task: Retrieve lon from drought_index with value above the COUNT(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"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_059520 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: depth, value, unit, lon
Sensor: humidity | fields: reading, ts, unit, lon
Task: Get lat from frost where reading exceeds the average depth from humidity for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059521 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: qc, unit, lat, level
Sensor: lightning | fields: value, lon, type, ts
Task: Retrieve lat from rainfall with value above the COUNT(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059522 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: type, qc, depth, lat
Sensor: sunlight | fields: value, ts, lon, depth
Task: Get value from wind_speed where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059523 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, ts, lon, qc
Sensor: humidity | fields: qc, type, lon, reading
Task: Retrieve value from cloud_cover with reading above the COUNT(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059524 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lat, level, depth, unit
Sensor: dew_point | fields: level, value, lat, qc
Task: Retrieve depth from frost whose qc is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059525 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, unit, qc, reading
Sensor: lightning | fields: qc, lon, value, unit
Task: Fetch value from wind_speed that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059526 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: type, lon, unit, value
Sensor: uv_index | fields: unit, value, qc, ts
Task: Get depth from visibility where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059527 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: value, depth, qc, ts
Sensor: sunlight | fields: ts, type, lon, value
Task: Get reading from turbidity where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059528 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: depth, reading, ts, lat
Sensor: sunlight | fields: value, depth, reading, level
Task: Retrieve lon from frost that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059529 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lon, unit, ts, reading
Sensor: drought_index | fields: ts, lon, reading, type
Task: Retrieve value from rainfall that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059530 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: unit, depth, lon, value
Sensor: evaporation | fields: unit, ts, lon, value
Task: Get value from frost where type appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059531 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: level, unit, type, ts
Sensor: uv_index | fields: type, value, ts, lon
Task: Get reading from rainfall where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059532 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: value, unit, lon, type
Sensor: dew_point | fields: type, reading, level, unit
Task: Fetch lat from visibility where ts exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059533 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: type, reading, level, ts
Sensor: sunlight | fields: lon, level, depth, qc
Task: Retrieve value from temperature whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059534 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lon, value, qc, level
Sensor: frost | fields: qc, type, ts, lon
Task: Retrieve depth from lightning whose qc is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059535 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: type, level, value, lat
Sensor: frost | fields: lat, ts, type, level
Task: Get level from sunlight where ts appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059536 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, ts, type, reading
Sensor: sunlight | fields: ts, unit, value, lat
Task: Fetch value from snow_depth where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059537 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: unit, depth, type, level
Sensor: rainfall | fields: qc, unit, value, depth
Task: Fetch depth from sunlight where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059538 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: unit, depth, lon, type
Sensor: dew_point | fields: value, level, reading, lon
Task: Get reading from air_quality where depth appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059539 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: depth, ts, unit, type
Sensor: pressure | fields: reading, qc, lon, unit
Task: Get depth from turbidity where type appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059540 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: value, lat, level, ts
Sensor: uv_index | fields: qc, depth, unit, ts
Task: Fetch reading from air_quality where value is greater than the total of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059541 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: ts, depth, value, qc
Sensor: rainfall | fields: unit, reading, lon, depth
Task: Retrieve reading from sunlight with reading above the AVG(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059542 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: qc, lat, value, level
Sensor: visibility | fields: lat, reading, type, unit
Task: Fetch value from dew_point where ts exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059543 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lat, qc, ts, depth
Sensor: rainfall | fields: unit, reading, value, ts
Task: Get level from dew_point where ts appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059544 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, reading, unit, lon
Sensor: visibility | fields: unit, lon, reading, value
Task: Retrieve lon from cloud_cover whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059545 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: depth, lon, reading, qc
Sensor: soil_moisture | fields: reading, lat, ts, depth
Task: Fetch depth from rainfall where type exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059546 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: unit, qc, lon, level
Sensor: cloud_cover | fields: value, lat, type, depth
Task: Get value from turbidity where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059547 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: level, depth, type, reading
Sensor: lightning | fields: lat, type, ts, reading
Task: Retrieve lat from uv_index whose unit is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059548 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: ts, lat, unit, type
Sensor: temperature | fields: lat, value, depth, type
Task: Fetch depth from turbidity where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059549 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, ts, qc, value
Sensor: visibility | fields: value, depth, reading, lon
Task: Fetch value from wind_speed that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059550 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: value, depth, reading, lon
Sensor: uv_index | fields: lat, qc, lon, unit
Task: Get level from visibility where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059551 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: reading, value, lon, qc
Sensor: air_quality | fields: lon, qc, type, value
Task: Fetch depth from temperature where depth exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059552 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, type, depth, lon
Sensor: sunlight | fields: qc, lat, depth, level
Task: Retrieve value from wind_speed that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059553 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: level, ts, value, reading
Sensor: wind_speed | fields: depth, unit, ts, qc
Task: Get depth from lightning where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059554 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: ts, lat, value, qc
Sensor: uv_index | fields: lat, depth, value, reading
Task: Get reading from frost where type appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059555 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, lat, depth, level
Sensor: sunlight | fields: lon, unit, ts, type
Task: Retrieve lon from wind_speed that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059556 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: reading, level, qc, depth
Sensor: air_quality | fields: lat, qc, value, unit
Task: Get lon from drought_index where depth exceeds the total depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059557 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: level, lat, unit, depth
Sensor: evaporation | fields: lat, type, depth, ts
Task: Retrieve reading from sunlight with value above the COUNT(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059558 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: level, type, value, unit
Sensor: soil_moisture | fields: type, reading, value, qc
Task: Retrieve level from evaporation with depth above the MAX(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059559 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, lon, type, ts
Sensor: lightning | fields: reading, ts, value, qc
Task: Get depth from cloud_cover where qc appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059560 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: type, lat, qc, value
Sensor: cloud_cover | fields: type, lon, level, depth
Task: Get lon from lightning where value exceeds the minimum depth from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059561 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, lon, ts, reading
Sensor: turbidity | fields: lon, reading, depth, qc
Task: Fetch lon from soil_moisture that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059562 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lon, type, ts, reading
Sensor: turbidity | fields: reading, type, lon, unit
Task: Fetch level from air_quality that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059563 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lon, depth, type, unit
Sensor: wind_speed | fields: ts, lon, value, type
Task: Fetch lon from turbidity where reading is greater than the maximum of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059564 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, type, value, ts
Sensor: evaporation | fields: qc, lat, ts, level
Task: Get level from soil_moisture where reading exceeds the average depth from evaporation for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059565 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, depth, level, unit
Sensor: wind_speed | fields: level, qc, ts, value
Task: Get value from cloud_cover where ts appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059566 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: reading, qc, type, level
Sensor: dew_point | fields: ts, value, unit, lon
Task: Get level from uv_index where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059567 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, qc, lon, reading
Sensor: uv_index | fields: value, unit, level, qc
Task: Retrieve depth from temperature with depth above the SUM(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059568 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: type, reading, lon, value
Sensor: lightning | fields: lat, lon, reading, unit
Task: Get reading from turbidity where reading exceeds the total value from lightning for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059569 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: ts, lat, qc, type
Sensor: dew_point | fields: level, qc, lat, reading
Task: Retrieve lat from frost whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059570 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lon, qc, unit, ts
Sensor: visibility | fields: value, ts, type, lon
Task: Get lon from air_quality where depth exceeds the minimum depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059571 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lon, value, ts, reading
Sensor: cloud_cover | fields: level, lon, unit, depth
Task: Fetch reading from turbidity where reading is greater than the average of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059572 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, unit, lon, qc
Sensor: cloud_cover | fields: reading, type, lon, ts
Task: Get reading from soil_moisture where type appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059573 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, depth, reading, ts
Sensor: humidity | fields: lat, value, reading, ts
Task: Retrieve level from snow_depth that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059574 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, lat, qc, depth
Sensor: temperature | fields: lat, lon, qc, depth
Task: Get reading from wind_speed where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059575 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, depth, level, lat
Sensor: air_quality | fields: qc, level, ts, depth
Task: Retrieve depth from drought_index that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059576 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, unit, qc, type
Sensor: turbidity | fields: lon, lat, type, unit
Task: Retrieve depth from frost whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059577 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: level, lon, depth, ts
Sensor: lightning | fields: ts, value, qc, level
Task: Retrieve reading from turbidity that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059578 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lat, qc, reading, depth
Sensor: turbidity | fields: unit, reading, ts, type
Task: Retrieve depth from evaporation with value above the MAX(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059579 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, lat, value, type
Sensor: uv_index | fields: lon, value, level, depth
Task: Fetch lat from visibility that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059580 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: value, depth, qc, type
Sensor: air_quality | fields: level, unit, value, lon
Task: Fetch lon from snow_depth where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059581 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: depth, lon, lat, level
Sensor: rainfall | fields: type, qc, reading, level
Task: Retrieve value from evaporation with value above the MIN(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059582 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: ts, level, reading, qc
Sensor: evaporation | fields: value, type, qc, unit
Task: Get level from air_quality where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059583 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lat, reading, depth, level
Sensor: turbidity | fields: level, ts, depth, unit
Task: Retrieve level from air_quality with depth above the AVG(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059584 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: ts, level, lon, lat
Sensor: snow_depth | fields: unit, lat, value, lon
Task: Fetch reading from evaporation where unit exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059585 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: depth, lat, type, value
Sensor: visibility | fields: ts, qc, level, reading
Task: Retrieve depth from frost that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059586 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: type, lon, depth, level
Sensor: turbidity | fields: reading, lon, qc, type
Task: Fetch lat from snow_depth where type exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059587 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: level, reading, type, depth
Sensor: soil_moisture | fields: level, ts, qc, value
Task: Fetch value from pressure where ts exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059588 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, reading, unit, level
Sensor: snow_depth | fields: ts, reading, type, qc
Task: Fetch reading from uv_index where depth is greater than the average of reading in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059589 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, ts, type, lat
Sensor: turbidity | fields: reading, unit, lon, lat
Task: Fetch value from snow_depth that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059590 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, unit, type, lon
Sensor: rainfall | fields: type, value, ts, qc
Task: Fetch level from frost where reading is greater than the minimum of value in rainfall for matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059591 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: qc, lon, value, ts
Sensor: drought_index | fields: depth, reading, qc, lat
Task: Get reading from sunlight where value exceeds the minimum depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059592 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: qc, level, value, depth
Sensor: air_quality | fields: depth, unit, lat, level
Task: Get depth from drought_index where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059593 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, lon, unit, type
Sensor: wind_speed | fields: depth, lon, level, value
Task: Get lat from cloud_cover where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059594 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, ts, lon, lat
Sensor: air_quality | fields: lon, lat, reading, depth
Task: Retrieve level from uv_index whose unit is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059595 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lat, level, lon, unit
Sensor: lightning | fields: lat, qc, unit, lon
Task: Get value from uv_index where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059596 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, qc, depth, reading
Sensor: humidity | fields: lon, ts, reading, lat
Task: Get value from soil_moisture where depth appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059597 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: ts, reading, depth, value
Sensor: snow_depth | fields: reading, ts, lon, unit
Task: Fetch value from evaporation that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059598 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: depth, type, level, unit
Sensor: evaporation | fields: ts, level, lon, lat
Task: Fetch lat from turbidity that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.