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: humidity | code: prt | fields: unit, ts, type, lon
Sensor: cloud_cover | fields: lon, unit, depth, lat
Task: Retrieve lat from humidity that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053600 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, ts, depth, lat
Sensor: evaporation | fields: level, lat, lon, ts
Task: Retrieve depth from soil_moisture whose qc is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053601 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, qc, depth, unit
Sensor: evaporation | fields: type, qc, ts, lat
Task: Retrieve reading from dew_point whose type is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053602 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: level, lat, qc, reading
Sensor: humidity | fields: type, depth, lon, level
Task: Retrieve depth from uv_index whose type is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053603 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: unit, lon, level, lat
Sensor: rainfall | fields: level, lat, reading, depth
Task: Fetch level from temperature where reading is greater than the maximum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053604 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, reading, unit, type
Sensor: air_quality | fields: reading, lon, lat, value
Task: Retrieve lat from humidity that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053605 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, unit, qc, level
Sensor: air_quality | fields: ts, depth, qc, value
Task: Get lon from soil_moisture where qc appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053606 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, depth, value, reading
Sensor: humidity | fields: qc, lat, reading, depth
Task: Fetch reading from soil_moisture where type exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053607 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: unit, lat, reading, type
Sensor: wind_speed | fields: type, unit, lat, value
Task: Fetch lon from evaporation that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053608 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: depth, reading, lat, type
Sensor: turbidity | fields: lon, qc, level, unit
Task: Fetch value from uv_index that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053609 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, reading, qc, type
Sensor: rainfall | fields: level, type, value, lon
Task: Retrieve level from air_quality with value above the MIN(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053610 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: unit, level, lat, qc
Sensor: lightning | fields: lat, qc, lon, unit
Task: Get reading from visibility where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053611 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, lon, unit, value
Sensor: pressure | fields: lon, ts, lat, reading
Task: Fetch lat from temperature where ts exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053612 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: ts, lat, lon, qc
Sensor: turbidity | fields: level, lat, qc, type
Task: Get lon from lightning where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053613 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: lat, depth, level, qc
Sensor: air_quality | fields: unit, lon, depth, value
Task: Retrieve value from lightning that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053614 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lat, reading, lon, value
Sensor: temperature | fields: value, lat, depth, unit
Task: Retrieve reading from dew_point whose ts is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053615 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, unit, level, ts
Sensor: snow_depth | fields: qc, value, reading, ts
Task: Retrieve lat from sunlight that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053616 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lon, ts, depth, level
Sensor: drought_index | fields: ts, lon, reading, lat
Task: Fetch lon from humidity that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053617 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lon, depth, unit, qc
Sensor: temperature | fields: value, reading, level, qc
Task: Fetch lat from humidity where unit exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053618 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, reading, qc, type
Sensor: temperature | fields: value, lat, depth, unit
Task: Retrieve lon from soil_moisture with depth above the SUM(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053619 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lon, ts, level, qc
Sensor: frost | fields: level, depth, lon, lat
Task: Fetch lon from temperature where ts exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053620 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: qc, lon, unit, reading
Sensor: wind_speed | fields: reading, lat, depth, level
Task: Retrieve lon from rainfall whose ts is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053621 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, reading, depth, ts
Sensor: soil_moisture | fields: lat, reading, depth, qc
Task: Get lon from turbidity where reading exceeds the average depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053622 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: level, qc, ts, unit
Sensor: turbidity | fields: qc, unit, level, lon
Task: Get lat from air_quality where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053623 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: level, depth, type, qc
Sensor: soil_moisture | fields: qc, type, reading, ts
Task: Retrieve lon from uv_index with depth above the AVG(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053624 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, depth, type, lat
Sensor: visibility | fields: qc, lon, reading, depth
Task: Get level from soil_moisture where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053625 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: depth, unit, level, ts
Sensor: pressure | fields: type, ts, unit, lat
Task: Retrieve depth from dew_point with depth above the MAX(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053626 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, value, qc, lon
Sensor: snow_depth | fields: lat, ts, depth, type
Task: Retrieve depth from uv_index whose type is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053627 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: value, unit, depth, type
Sensor: air_quality | fields: unit, lon, ts, value
Task: Retrieve reading from drought_index with depth above the COUNT(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053628 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, reading, depth, type
Sensor: visibility | fields: lon, ts, value, type
Task: Fetch depth from cloud_cover that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053629 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, lat, type, lon
Sensor: dew_point | fields: depth, ts, unit, lat
Task: Get value from snow_depth where reading exceeds the count of depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"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_053630 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, reading, ts, level
Sensor: visibility | fields: lat, qc, level, unit
Task: Get value from snow_depth where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053631 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: unit, reading, ts, lon
Sensor: pressure | fields: qc, unit, type, reading
Task: Get lat from air_quality where qc appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053632 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, qc, level, reading
Sensor: drought_index | fields: level, lat, lon, ts
Task: Fetch lat from turbidity where reading is greater than the count of of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053633 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, value, ts, unit
Sensor: temperature | fields: level, lon, qc, reading
Task: Retrieve reading from humidity with depth above the MIN(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053634 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lon, value, level, lat
Sensor: pressure | fields: reading, depth, level, lon
Task: Get lon from lightning where depth appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053635 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: reading, ts, lon, unit
Sensor: cloud_cover | fields: level, lat, unit, lon
Task: Get level from lightning where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053636 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: qc, unit, type, value
Sensor: wind_speed | fields: lon, ts, unit, lat
Task: Retrieve depth from sunlight that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053637 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, level, reading, ts
Sensor: frost | fields: unit, lon, reading, depth
Task: Retrieve value from cloud_cover that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053638 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: type, lat, lon, value
Sensor: lightning | fields: type, reading, unit, lon
Task: Fetch lat from pressure that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053639 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: depth, value, lon, type
Sensor: air_quality | fields: value, reading, lon, level
Task: Get lon from temperature where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053640 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, lat, qc, type
Sensor: uv_index | fields: ts, lat, depth, qc
Task: Fetch level from drought_index where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053641 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, lat, lon, ts
Sensor: temperature | fields: value, type, ts, qc
Task: Retrieve reading from pressure whose qc is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053642 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, qc, level, value
Sensor: humidity | fields: depth, type, qc, reading
Task: Retrieve value from wind_speed whose ts is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053643 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: qc, lat, level, depth
Sensor: turbidity | fields: level, unit, depth, value
Task: Retrieve lat from rainfall that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053644 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, qc, lon, type
Sensor: sunlight | fields: ts, level, reading, qc
Task: Fetch depth from cloud_cover that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053645 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: depth, unit, qc, lat
Sensor: drought_index | fields: level, unit, reading, qc
Task: Get reading from uv_index where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053646 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: type, ts, value, level
Sensor: dew_point | fields: reading, lat, type, lon
Task: Get level from sunlight where depth exceeds the total depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053647 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lon, depth, lat, qc
Sensor: sunlight | fields: type, value, unit, lon
Task: Retrieve lat from frost whose type is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053648 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: ts, level, lon, qc
Sensor: frost | fields: level, unit, lon, ts
Task: Fetch level from uv_index that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053649 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, lon, unit, lat
Sensor: pressure | fields: value, reading, type, depth
Task: Retrieve lat from temperature whose ts is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053650 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: level, lon, unit, qc
Sensor: visibility | fields: value, lon, unit, reading
Task: Retrieve depth from uv_index whose depth is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053651 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, reading, depth, type
Sensor: wind_speed | fields: reading, level, unit, type
Task: Fetch lat from snow_depth where value is greater than the minimum of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053652 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: qc, lon, level, reading
Sensor: dew_point | fields: lon, unit, reading, type
Task: Get depth from pressure where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053653 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: lon, depth, qc, unit
Sensor: temperature | fields: qc, type, ts, depth
Task: Fetch level from dew_point that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053654 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, value, reading, level
Sensor: evaporation | fields: unit, value, depth, type
Task: Get lon from uv_index where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053655 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: ts, value, type, qc
Sensor: snow_depth | fields: level, lat, lon, value
Task: Fetch lat from uv_index where qc exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053656 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, unit, lat, value
Sensor: turbidity | fields: reading, depth, value, type
Task: Retrieve depth from visibility that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053657 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: qc, unit, value, reading
Sensor: uv_index | fields: level, type, lon, depth
Task: Fetch value from temperature where value is greater than the average of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053658 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, qc, unit, lon
Sensor: drought_index | fields: lat, depth, level, lon
Task: Get lat from soil_moisture where reading exceeds the total value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053659 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, unit, qc, depth
Sensor: turbidity | fields: lat, unit, reading, type
Task: Fetch level from soil_moisture where unit exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053660 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: type, lon, depth, unit
Sensor: turbidity | fields: reading, lat, qc, ts
Task: Fetch depth from humidity that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053661 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: unit, reading, depth, value
Sensor: snow_depth | fields: level, type, unit, depth
Task: Get lon from visibility where ts appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053662 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, depth, type, lat
Sensor: pressure | fields: level, lat, depth, ts
Task: Retrieve value from snow_depth that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053663 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, ts, value, level
Sensor: humidity | fields: qc, reading, ts, lat
Task: Retrieve reading from rainfall that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053664 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: ts, level, reading, qc
Sensor: drought_index | fields: reading, level, unit, lon
Task: Retrieve level from rainfall that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053665 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: qc, ts, level, type
Sensor: uv_index | fields: depth, lon, unit, qc
Task: Fetch lat from dew_point where unit exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053666 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, value, level, type
Sensor: pressure | fields: ts, level, unit, type
Task: Retrieve depth from rainfall whose qc is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053667 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: depth, lon, level, unit
Sensor: visibility | fields: type, unit, reading, lon
Task: Fetch value from turbidity that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053668 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, ts, reading, depth
Sensor: cloud_cover | fields: level, reading, unit, depth
Task: Get reading from wind_speed where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053669 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: value, lon, unit, qc
Sensor: humidity | fields: depth, ts, reading, qc
Task: Fetch level from dew_point where unit exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053670 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, lon, ts, depth
Sensor: dew_point | fields: reading, lat, lon, unit
Task: Retrieve level from cloud_cover that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053671 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: qc, value, reading, level
Sensor: uv_index | fields: value, lon, lat, unit
Task: Fetch value from dew_point where value is greater than the maximum of value in uv_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053672 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lon, lat, qc, ts
Sensor: evaporation | fields: qc, unit, depth, type
Task: Fetch value from humidity where depth is greater than the maximum of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053673 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: type, reading, depth, unit
Sensor: dew_point | fields: type, qc, depth, level
Task: Get value from lightning where depth exceeds the count of depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053674 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, lat, depth, ts
Sensor: soil_moisture | fields: lon, type, unit, depth
Task: Get lat from rainfall where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053675 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lon, qc, value, depth
Sensor: humidity | fields: lat, level, lon, unit
Task: Get lat from air_quality where reading exceeds the average reading from humidity for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053676 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lon, unit, type, ts
Sensor: snow_depth | fields: lon, type, unit, lat
Task: Retrieve level from uv_index whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053677 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: ts, reading, lat, depth
Sensor: snow_depth | fields: unit, lon, qc, ts
Task: Get lon from lightning where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053678 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: ts, type, qc, value
Sensor: temperature | fields: value, depth, level, reading
Task: Fetch lat from uv_index that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053679 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, level, ts, type
Sensor: turbidity | fields: lat, depth, value, ts
Task: Retrieve level from air_quality that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053680 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: depth, qc, lon, ts
Sensor: wind_speed | fields: level, lat, reading, qc
Task: Retrieve value from pressure with value above the MIN(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053681 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: depth, level, reading, ts
Sensor: pressure | fields: type, reading, unit, lon
Task: Fetch reading 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="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053682 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, level, depth, type
Sensor: drought_index | fields: ts, depth, level, reading
Task: Retrieve lon from snow_depth with value above the AVG(depth) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053683 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lon, unit, depth, type
Sensor: drought_index | fields: value, lat, ts, reading
Task: Get lon from rainfall where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053684 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: value, qc, lat, depth
Sensor: soil_moisture | fields: value, unit, lat, ts
Task: Get value from rainfall where reading exceeds the maximum reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053685 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lat, lon, unit, qc
Sensor: wind_speed | fields: lat, level, lon, qc
Task: Get lon from sunlight where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053686 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: depth, type, value, unit
Sensor: turbidity | fields: unit, qc, lat, ts
Task: Fetch level from visibility where value is greater than the count of of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053687 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, lon, ts, reading
Sensor: snow_depth | fields: reading, type, level, lon
Task: Get lon from air_quality where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053688 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: level, reading, depth, lon
Sensor: frost | fields: level, lat, ts, unit
Task: Fetch lat from snow_depth that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053689 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: depth, level, value, lat
Sensor: snow_depth | fields: type, level, unit, qc
Task: Get reading from turbidity where ts appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053690 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, value, unit, ts
Sensor: pressure | fields: reading, level, value, qc
Task: Get lon from wind_speed where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053691 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: qc, lat, unit, level
Sensor: cloud_cover | fields: unit, value, reading, qc
Task: Fetch lon from uv_index that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053692 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, ts, reading, lon
Sensor: drought_index | fields: lon, ts, reading, lat
Task: Get lon from soil_moisture where depth exceeds the count of value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053693 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: value, reading, type, level
Sensor: uv_index | fields: level, reading, value, lat
Task: Get lon from humidity where qc appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053694 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: ts, lon, reading, qc
Sensor: soil_moisture | fields: reading, qc, level, lon
Task: Fetch reading from pressure where qc exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053695 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: qc, lat, type, level
Sensor: uv_index | fields: value, qc, reading, depth
Task: Get lat from frost where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053696 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, lat, value, unit
Sensor: wind_speed | fields: value, depth, level, reading
Task: Fetch value from evaporation where value is greater than the minimum of depth in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053697 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, ts, reading, type
Sensor: temperature | fields: lat, level, type, reading
Task: Fetch depth from cloud_cover where unit exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053698 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, type, level, value
Sensor: visibility | fields: value, unit, lat, level
Task: Fetch level from soil_moisture where depth is greater than the maximum of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.