variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: lightning | code: mst | fields: lat, unit, value, level
Sensor: cloud_cover | fields: lat, depth, level, value
Task: Fetch depth from lightning where depth exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001300 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, lat, lon, value
Sensor: pressure | fields: level, ts, qc, unit
Task: Fetch reading from temperature where depth is greater than the average of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001301 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: value, type, qc, unit
Sensor: air_quality | fields: qc, depth, level, reading
Task: Get reading from pressure where type appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001302 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: depth, type, ts, level
Sensor: humidity | fields: qc, depth, unit, ts
Task: Get reading from rainfall where reading exceeds the maximum reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001303 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: unit, ts, value, reading
Sensor: air_quality | fields: type, level, value, depth
Task: Fetch lon from temperature where type exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001304 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lat, qc, value, type
Sensor: visibility | fields: ts, depth, level, lon
Task: Retrieve lon from dew_point whose type is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001305 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: type, qc, level, ts
Sensor: uv_index | fields: ts, value, lat, lon
Task: Get value from turbidity where unit appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001306 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: depth, lon, unit, reading
Sensor: dew_point | fields: level, type, lon, lat
Task: Get reading from frost where depth appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001307 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, lat, value, level
Sensor: turbidity | fields: value, depth, lon, level
Task: Get lat from wind_speed where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001308 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, qc, value, level
Sensor: uv_index | fields: type, reading, level, lon
Task: Get value from cloud_cover where depth exceeds the count of depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001309 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: unit, depth, level, qc
Sensor: uv_index | fields: depth, ts, lat, type
Task: Fetch depth from sunlight where type exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001310 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: value, unit, type, depth
Sensor: visibility | fields: unit, lon, value, qc
Task: Fetch reading from frost where value is greater than the minimum of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"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_001311 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: reading, value, depth, type
Sensor: turbidity | fields: value, depth, lon, qc
Task: Fetch level from air_quality where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
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",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001312 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lon, reading, unit, value
Sensor: visibility | fields: qc, lon, lat, depth
Task: Fetch value from dew_point that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001313 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lon, type, reading, ts
Sensor: visibility | fields: lat, type, unit, level
Task: Fetch lon from pressure that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001314 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: type, level, depth, ts
Sensor: drought_index | fields: level, ts, reading, lon
Task: Get reading from pressure where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001315 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: value, type, ts, qc
Sensor: turbidity | fields: ts, depth, lat, level
Task: Retrieve level from air_quality whose unit is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"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_001316 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, lat, depth, ts
Sensor: humidity | fields: lon, lat, value, type
Task: Retrieve lon from air_quality that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001317 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: reading, unit, qc, lon
Sensor: turbidity | fields: qc, unit, ts, depth
Task: Retrieve lat from sunlight that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001318 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, ts, lon, lat
Sensor: pressure | fields: unit, depth, level, lon
Task: Fetch value from evaporation where type exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001319 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: depth, level, type, reading
Sensor: lightning | fields: reading, type, lat, level
Task: Retrieve depth from drought_index with reading above the AVG(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001320 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: unit, reading, depth, value
Sensor: soil_moisture | fields: reading, type, unit, lon
Task: Get value from turbidity where ts appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001321 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: value, lon, reading, lat
Sensor: turbidity | fields: level, ts, qc, type
Task: Retrieve value from drought_index that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001322 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, ts, reading, depth
Sensor: rainfall | fields: unit, type, reading, qc
Task: Get level from visibility where reading exceeds the average value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001323 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lat, unit, reading, value
Sensor: sunlight | fields: lat, type, reading, unit
Task: Fetch lat from frost that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001324 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lat, value, lon, depth
Sensor: turbidity | fields: depth, lat, value, type
Task: Fetch lat from air_quality that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001325 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, qc, lat, depth
Sensor: humidity | fields: ts, unit, value, lon
Task: Get value from uv_index where unit appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001326 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, type, unit, lat
Sensor: pressure | fields: ts, level, depth, value
Task: Fetch reading from snow_depth where ts exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001327 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, unit, value, qc
Sensor: frost | fields: qc, type, lon, reading
Task: Retrieve depth from lightning with value above the MIN(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001328 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: reading, type, lon, depth
Sensor: frost | fields: level, lon, depth, reading
Task: Fetch lat from temperature where type exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001329 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, value, unit, ts
Sensor: drought_index | fields: unit, lat, qc, depth
Task: Get level from cloud_cover where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001330 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lon, level, depth, unit
Sensor: frost | fields: value, level, type, ts
Task: Fetch lat from turbidity that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001331 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: qc, lat, ts, reading
Sensor: snow_depth | fields: depth, type, unit, qc
Task: Get reading from evaporation where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001332 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lat, ts, qc, reading
Sensor: wind_speed | fields: depth, qc, unit, lon
Task: Fetch reading from turbidity where type exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001333 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: type, lat, unit, qc
Sensor: visibility | fields: depth, level, lon, unit
Task: Get lat from sunlight where depth appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001334 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: ts, type, value, unit
Sensor: visibility | fields: lat, depth, qc, lon
Task: Fetch value from drought_index where unit exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001335 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: depth, level, ts, unit
Sensor: visibility | fields: level, reading, ts, lon
Task: Get lon from turbidity where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001336 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: value, type, ts, unit
Sensor: soil_moisture | fields: reading, level, lat, qc
Task: Fetch depth from lightning where ts exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001337 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, value, unit, lat
Sensor: pressure | fields: unit, reading, depth, type
Task: Get value from snow_depth where a corresponding entry exists in pressure with 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_001338 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: value, lat, ts, lon
Sensor: sunlight | fields: qc, type, level, value
Task: Retrieve reading from uv_index whose type is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001339 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, lon, value, type
Sensor: cloud_cover | fields: level, type, value, lon
Task: Fetch value from evaporation that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001340 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: depth, lon, unit, type
Sensor: visibility | fields: unit, level, ts, lat
Task: Get lon from rainfall where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001341 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: value, reading, unit, lat
Sensor: air_quality | fields: lat, type, value, qc
Task: Fetch lat from frost where value is greater than the total of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001342 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: reading, lon, lat, qc
Sensor: drought_index | fields: depth, lon, level, lat
Task: Fetch lat from pressure that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001343 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: qc, ts, unit, lat
Sensor: soil_moisture | fields: reading, depth, qc, level
Task: Get depth from lightning where qc appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001344 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, depth, lon, qc
Sensor: wind_speed | fields: value, qc, lat, depth
Task: Get value from snow_depth where unit appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001345 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: level, unit, lon, depth
Sensor: wind_speed | fields: level, depth, lon, ts
Task: Fetch level from visibility where depth is greater than the maximum of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001346 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, depth, type, unit
Sensor: pressure | fields: level, lat, type, depth
Task: Retrieve depth from snow_depth with reading above the MIN(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001347 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lat, level, type, lon
Sensor: visibility | fields: level, lon, value, lat
Task: Get reading from dew_point where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001348 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: unit, depth, level, reading
Sensor: humidity | fields: depth, unit, lon, lat
Task: Retrieve value from lightning that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001349 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, reading, lat, lon
Sensor: snow_depth | fields: depth, lat, level, type
Task: Fetch level from cloud_cover where unit exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001350 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: lon, ts, level, depth
Sensor: soil_moisture | fields: ts, value, lat, qc
Task: Fetch lat from visibility that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001351 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: unit, ts, qc, reading
Sensor: pressure | fields: qc, level, depth, value
Task: Get value from temperature where unit appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001352 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, reading, unit, lat
Sensor: evaporation | fields: level, ts, lon, value
Task: Retrieve lat from soil_moisture with value above the MIN(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001353 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, lon, value, depth
Sensor: humidity | fields: depth, unit, lon, ts
Task: Fetch reading from snow_depth that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001354 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, value, lon, qc
Sensor: visibility | fields: lon, lat, qc, unit
Task: Retrieve level from cloud_cover with depth above the AVG(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001355 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lon, value, ts, level
Sensor: dew_point | fields: qc, unit, lat, level
Task: Fetch lon from visibility that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001356 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lat, unit, type, ts
Sensor: turbidity | fields: unit, value, level, lat
Task: Fetch level from drought_index where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001357 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, lon, type, ts
Sensor: wind_speed | fields: lon, reading, level, type
Task: Fetch level from rainfall that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001358 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, lon, ts, value
Sensor: uv_index | fields: type, lon, lat, depth
Task: Fetch reading from soil_moisture where ts exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001359 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lon, level, unit, ts
Sensor: pressure | fields: ts, reading, unit, value
Task: Fetch depth from turbidity where type exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001360 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: level, lat, unit, value
Sensor: temperature | fields: lat, level, reading, qc
Task: Fetch lon from wind_speed where depth is greater than the minimum of value in temperature for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001361 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: reading, type, qc, lon
Sensor: sunlight | fields: lat, ts, level, value
Task: Fetch depth from drought_index where depth is greater than the average of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001362 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: type, unit, depth, value
Sensor: sunlight | fields: reading, qc, lat, type
Task: Retrieve depth from humidity with reading above the SUM(value) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001363 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: qc, depth, level, reading
Sensor: dew_point | fields: depth, reading, lat, type
Task: Retrieve lon from frost that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001364 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: qc, ts, reading, depth
Sensor: sunlight | fields: qc, unit, ts, value
Task: Fetch depth from turbidity where reading is greater than the maximum of reading in sunlight for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001365 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lat, unit, depth, reading
Sensor: air_quality | fields: type, reading, level, qc
Task: Retrieve value from humidity with depth above the COUNT(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001366 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: ts, qc, lon, reading
Sensor: evaporation | fields: ts, lat, unit, qc
Task: Get reading from uv_index where reading exceeds the total value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001367 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, ts, level, lon
Sensor: rainfall | fields: lon, depth, lat, value
Task: Get value from sunlight where type appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001368 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: unit, reading, ts, lat
Sensor: uv_index | fields: unit, reading, type, ts
Task: Retrieve lat from turbidity whose depth is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001369 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: value, reading, lon, qc
Sensor: dew_point | fields: ts, level, unit, reading
Task: Get level from frost where depth exceeds the count of depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001370 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lat, unit, lon, type
Sensor: soil_moisture | fields: depth, lon, lat, qc
Task: Get value from rainfall where depth exceeds the count of value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001371 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: qc, level, lat, lon
Sensor: visibility | fields: unit, lon, depth, lat
Task: Fetch lat from air_quality where unit exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001372 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: level, lat, qc, depth
Sensor: drought_index | fields: lat, lon, depth, unit
Task: Get lon from snow_depth where type appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001373 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: unit, level, depth, qc
Sensor: lightning | fields: unit, qc, lat, lon
Task: Get value from drought_index where value exceeds the total value from lightning for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001374 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, depth, reading, lon
Sensor: uv_index | fields: type, qc, depth, unit
Task: Retrieve depth from soil_moisture whose unit is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001375 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: level, reading, value, depth
Sensor: snow_depth | fields: value, ts, lon, lat
Task: Get reading from evaporation where value exceeds the count of depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001376 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, ts, qc, type
Sensor: snow_depth | fields: type, qc, level, reading
Task: Fetch level from cloud_cover where unit exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001377 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, lon, type, reading
Sensor: evaporation | fields: lon, level, reading, value
Task: Fetch reading from wind_speed where reading is greater than the minimum of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001378 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lon, unit, depth
Sensor: lightning | fields: type, level, qc, lon
Task: Get lat from rainfall where reading exceeds the average depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"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_001379 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: lat, lon, depth, reading
Sensor: wind_speed | fields: reading, value, qc, depth
Task: Fetch lon from temperature where reading is greater than the total of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001380 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, type, lon, level
Sensor: dew_point | fields: level, unit, value, depth
Task: Fetch value from soil_moisture where value is greater than the minimum of reading in dew_point for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001381 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, unit, reading, level
Sensor: temperature | fields: reading, lat, ts, depth
Task: Retrieve value from snow_depth whose qc is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001382 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, depth, level, qc
Sensor: dew_point | fields: value, unit, reading, depth
Task: Get level from wind_speed where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001383 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, lat, reading, ts
Sensor: pressure | fields: qc, depth, value, lat
Task: Get reading from uv_index where depth appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001384 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lon, reading, level, value
Sensor: pressure | fields: depth, type, ts, reading
Task: Retrieve level from uv_index whose unit is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001385 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, value, level, reading
Sensor: soil_moisture | fields: type, reading, value, lat
Task: Get lat from lightning where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001386 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: reading, ts, type, qc
Sensor: uv_index | fields: qc, value, reading, ts
Task: Retrieve depth from drought_index whose qc is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001387 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lat, ts, qc, type
Sensor: drought_index | fields: ts, lon, qc, type
Task: Get lat from humidity where ts appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001388 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, depth, reading, level
Sensor: dew_point | fields: level, type, ts, lat
Task: Get lon from soil_moisture where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001389 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, ts, level, lon
Sensor: turbidity | fields: lon, type, ts, lat
Task: Retrieve lat from cloud_cover that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001390 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, ts, unit, qc
Sensor: sunlight | fields: value, reading, lat, qc
Task: Get lon from wind_speed where type appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001391 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: type, ts, lon, qc
Sensor: drought_index | fields: lon, unit, value, qc
Task: Retrieve lat from air_quality with depth above the MIN(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001392 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, level, depth, lon
Sensor: pressure | fields: depth, value, level, type
Task: Get lon from air_quality where reading exceeds the average depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001393 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: value, level, lat, lon
Sensor: visibility | fields: qc, unit, value, lat
Task: Get lon from pressure where reading exceeds the count of reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001394 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: type, lat, depth, reading
Sensor: dew_point | fields: ts, unit, lon, type
Task: Retrieve lat from temperature that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001395 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: unit, qc, level, ts
Sensor: evaporation | fields: ts, value, unit, lat
Task: Get depth from frost where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001396 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: ts, lon, lat, reading
Sensor: frost | fields: reading, level, ts, type
Task: Get lat from visibility where qc appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001397 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: unit, depth, lat, value
Sensor: temperature | fields: value, depth, type, unit
Task: Retrieve level from sunlight with depth above the COUNT(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001398 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: type, ts, reading, value
Sensor: sunlight | fields: lon, type, lat, reading
Task: Fetch reading from rainfall where reading is greater than the minimum of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.