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: drought_index | code: mst | fields: qc, lon, reading, value
Sensor: snow_depth | fields: unit, depth, ts, type
Task: Retrieve lon from drought_index whose qc is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005400 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, unit, ts, reading
Sensor: lightning | fields: unit, value, type, qc
Task: Retrieve lon from uv_index with value above the SUM(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005401 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lat, depth, unit, level
Sensor: dew_point | fields: level, lon, depth, type
Task: Fetch level from evaporation where depth is greater than the average of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005402 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: level, lon, qc, reading
Sensor: soil_moisture | fields: qc, lat, type, ts
Task: Retrieve lat from visibility that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005403 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: value, lon, reading, depth
Sensor: humidity | fields: unit, lat, level, depth
Task: Fetch level from dew_point where qc exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005404 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: unit, ts, lon, reading
Sensor: lightning | fields: type, lon, value, lat
Task: Fetch lat from rainfall where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005405 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lon, unit, qc, lat
Sensor: pressure | fields: lon, lat, value, level
Task: Get depth from sunlight where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005406 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, qc, lon, depth
Sensor: rainfall | fields: unit, qc, lon, level
Task: Get reading from cloud_cover where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005407 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: type, value, ts, lon
Sensor: drought_index | fields: reading, lon, type, qc
Task: Get lat from lightning where reading exceeds the total value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005408 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, reading, lat, ts
Sensor: uv_index | fields: ts, lat, lon, unit
Task: Fetch lon from snow_depth that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005409 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: level, value, qc, ts
Sensor: rainfall | fields: ts, type, reading, level
Task: Retrieve lon from sunlight whose depth is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005410 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, ts, value, level
Sensor: snow_depth | fields: depth, unit, value, lat
Task: Retrieve reading from pressure with depth above the MIN(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005411 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, lat, ts, type
Sensor: rainfall | fields: lon, qc, reading, level
Task: Fetch lat from temperature that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005412 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: reading, lon, level, type
Sensor: cloud_cover | fields: type, lat, lon, level
Task: Get lon from frost where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005413 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: value, type, level, reading
Sensor: uv_index | fields: reading, qc, unit, lon
Task: Retrieve depth from drought_index with reading above the AVG(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005414 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, unit, depth, lon
Sensor: rainfall | fields: type, ts, unit, qc
Task: Fetch depth from cloud_cover where ts exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005415 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, reading, qc, lat
Sensor: snow_depth | fields: lat, value, ts, qc
Task: Get reading from lightning where type appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005416 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: qc, ts, depth, lat
Sensor: visibility | fields: lat, qc, reading, depth
Task: Fetch reading from sunlight where type exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005417 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, ts, unit, type
Sensor: dew_point | fields: unit, qc, lon, value
Task: Fetch reading from soil_moisture that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005418 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: value, unit, qc, lat
Sensor: cloud_cover | fields: level, type, lat, value
Task: Fetch value from turbidity that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005419 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: value, qc, lat, lon
Sensor: wind_speed | fields: lon, unit, reading, type
Task: Retrieve level from lightning with depth above the SUM(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005420 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, depth, level, lat
Sensor: pressure | fields: depth, level, lon, reading
Task: Retrieve value from snow_depth that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005421 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: unit, reading, value, type
Sensor: lightning | fields: qc, ts, lon, reading
Task: Retrieve lon from turbidity whose type is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005422 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lon, lat, reading, unit
Sensor: frost | fields: reading, qc, lon, unit
Task: Get level from evaporation where value exceeds the minimum depth from frost for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005423 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: level, type, lat, unit
Sensor: soil_moisture | fields: level, qc, value, ts
Task: Retrieve level from wind_speed whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005424 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, depth, unit, ts
Sensor: lightning | fields: type, lon, level, value
Task: Retrieve value from cloud_cover that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005425 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: type, reading, unit, value
Sensor: cloud_cover | fields: lon, level, reading, lat
Task: Fetch depth from visibility that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005426 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: level, reading, unit, value
Sensor: evaporation | fields: value, lon, depth, ts
Task: Get lon from turbidity where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005427 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, ts, reading, value
Sensor: frost | fields: level, type, lat, unit
Task: Fetch lon from pressure where depth exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005428 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, qc, lat, level
Sensor: turbidity | fields: level, value, unit, depth
Task: Retrieve value from snow_depth whose unit is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005429 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, depth, lon, reading
Sensor: drought_index | fields: reading, lat, value, lon
Task: Retrieve lon from wind_speed whose depth is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005430 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, ts, depth, level
Sensor: soil_moisture | fields: lon, qc, depth, ts
Task: Fetch reading from pressure where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005431 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: level, unit, type, qc
Sensor: drought_index | fields: level, lat, reading, type
Task: Retrieve lon from turbidity that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005432 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: reading, lat, value, qc
Sensor: turbidity | fields: ts, reading, level, qc
Task: Retrieve level from uv_index whose unit is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005433 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: depth, lon, reading, ts
Sensor: wind_speed | fields: reading, value, level, unit
Task: Get lon from air_quality where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005434 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: type, unit, reading, ts
Sensor: uv_index | fields: ts, level, lon, depth
Task: Fetch lon from pressure where depth is greater than the minimum of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005435 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: type, unit, lat, level
Sensor: cloud_cover | fields: reading, qc, depth, unit
Task: Retrieve reading from snow_depth that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005436 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, value, unit, type
Sensor: visibility | fields: level, lon, depth, unit
Task: Fetch reading from wind_speed where depth is greater than the minimum of value in visibility for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005437 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: value, type, lat, reading
Sensor: rainfall | fields: ts, unit, qc, level
Task: Fetch reading from pressure where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005438 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, type, lat, reading
Sensor: sunlight | fields: value, lat, ts, depth
Task: Retrieve level from rainfall with depth above the COUNT(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005439 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: unit, type, value, reading
Sensor: humidity | fields: depth, value, unit, lon
Task: Fetch level from drought_index that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005440 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: reading, level, depth, type
Sensor: uv_index | fields: reading, value, unit, depth
Task: Get reading from lightning where type appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005441 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: value, reading, ts, type
Sensor: temperature | fields: lat, unit, level, reading
Task: Retrieve value from uv_index whose unit is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005442 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: qc, depth, level, unit
Sensor: dew_point | fields: value, qc, unit, depth
Task: Get value from temperature where value exceeds the total reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005443 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, type, lon, depth
Sensor: evaporation | fields: depth, ts, lat, level
Task: Get value from wind_speed where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005444 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, unit, lon, level
Sensor: lightning | fields: depth, ts, type, level
Task: Fetch reading from snow_depth where depth is greater than the total of value in lightning for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005445 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: qc, unit, value, reading
Sensor: pressure | fields: qc, level, depth, reading
Task: Fetch depth from dew_point where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005446 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: level, reading, unit, lon
Sensor: humidity | fields: unit, level, lat, lon
Task: Fetch reading from uv_index where depth exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005447 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, lon, type, depth
Sensor: turbidity | fields: reading, depth, unit, type
Task: Fetch reading from snow_depth where type exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005448 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: ts, lat, reading, level
Sensor: lightning | fields: ts, unit, reading, depth
Task: Get level from sunlight where depth appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005449 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, reading, depth, lat
Sensor: snow_depth | fields: level, ts, depth, type
Task: Get depth from sunlight where depth exceeds the total value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005450 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lon, reading, qc, type
Sensor: uv_index | fields: lat, qc, value, level
Task: Fetch value from turbidity that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005451 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: value, lat, lon, level
Sensor: rainfall | fields: lat, ts, reading, level
Task: Retrieve level from temperature that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005452 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: type, lat, reading, depth
Sensor: rainfall | fields: unit, lon, qc, lat
Task: Fetch reading from drought_index that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005453 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, depth, ts, level
Sensor: drought_index | fields: lon, level, reading, value
Task: Fetch value from cloud_cover where value is greater than the count of of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005454 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lat, ts, type, depth
Sensor: uv_index | fields: level, qc, value, unit
Task: Retrieve lon from lightning whose qc is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005455 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, depth, qc, unit
Sensor: humidity | fields: level, unit, qc, lat
Task: Retrieve level from pressure whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005456 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: qc, reading, type, unit
Sensor: sunlight | fields: ts, lat, reading, value
Task: Get reading from frost where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005457 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, qc, reading, unit
Sensor: turbidity | fields: reading, type, ts, qc
Task: Retrieve depth from cloud_cover with depth above the MIN(value) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005458 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: reading, level, lat, ts
Sensor: lightning | fields: depth, ts, unit, reading
Task: Fetch lat from dew_point that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005459 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, level, qc, ts
Sensor: humidity | fields: qc, lat, lon, depth
Task: Retrieve lat from snow_depth whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005460 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, type, reading, depth
Sensor: dew_point | fields: ts, unit, reading, lat
Task: Retrieve lon from uv_index that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005461 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, lon, qc, lat
Sensor: snow_depth | fields: lon, reading, unit, type
Task: Get reading from rainfall where value exceeds the total depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005462 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: unit, level, lat, depth
Sensor: lightning | fields: ts, reading, lat, depth
Task: Retrieve lat from pressure whose depth is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005463 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: type, ts, reading, level
Sensor: cloud_cover | fields: ts, level, type, value
Task: Fetch reading from snow_depth where depth is greater than the maximum of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005464 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: value, reading, unit, depth
Sensor: humidity | fields: lat, type, unit, lon
Task: Fetch lat from air_quality where depth is greater than the count of of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"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_005465 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: qc, reading, ts, depth
Sensor: visibility | fields: type, level, lon, reading
Task: Get reading from humidity where value exceeds the count of reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005466 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lat, reading, type, qc
Sensor: temperature | fields: lon, qc, reading, ts
Task: Get depth from visibility where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005467 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: qc, level, type, ts
Sensor: turbidity | fields: reading, level, unit, depth
Task: Fetch level from humidity where depth is greater than the maximum of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005468 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lat, level, ts, reading
Sensor: soil_moisture | fields: lat, level, value, unit
Task: Get lat from pressure where value exceeds the average depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005469 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: value, type, reading, ts
Sensor: soil_moisture | fields: level, reading, value, type
Task: Retrieve lon from snow_depth that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005470 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: value, depth, type, level
Sensor: pressure | fields: type, reading, value, depth
Task: Fetch level from temperature that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005471 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, level, unit, qc
Sensor: humidity | fields: depth, value, lat, level
Task: Retrieve value from cloud_cover that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005472 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: unit, qc, reading, depth
Sensor: temperature | fields: unit, value, depth, qc
Task: Retrieve value from evaporation whose unit is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005473 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, level, type, reading
Sensor: lightning | fields: type, qc, reading, depth
Task: Fetch level from cloud_cover where depth exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005474 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, reading, depth, value
Sensor: temperature | fields: type, ts, depth, reading
Task: Retrieve lon from cloud_cover whose unit is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005475 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: value, depth, ts, level
Sensor: evaporation | fields: depth, unit, reading, lat
Task: Get depth from frost where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005476 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: unit, level, depth, type
Sensor: dew_point | fields: level, lat, ts, type
Task: Get lon from turbidity where type appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005477 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, value, qc, reading
Sensor: rainfall | fields: type, lon, ts, value
Task: Retrieve depth from snow_depth with depth above the AVG(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005478 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, qc, level, type
Sensor: soil_moisture | fields: reading, ts, depth, lat
Task: Fetch level from rainfall where depth is greater than the minimum of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005479 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, qc, lon, lat
Sensor: air_quality | fields: lat, value, reading, ts
Task: Get reading from snow_depth where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005480 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lat, lon, value, reading
Sensor: cloud_cover | fields: level, lat, ts, unit
Task: Fetch lon from temperature where depth is greater than the minimum of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005481 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, value, qc, depth
Sensor: turbidity | fields: depth, value, qc, ts
Task: Fetch lat from lightning that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005482 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, lon, unit, lat
Sensor: temperature | fields: reading, ts, unit, value
Task: Retrieve lon from air_quality with value above the MIN(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"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_005483 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: type, reading, level, unit
Sensor: humidity | fields: depth, reading, type, qc
Task: Retrieve level from sunlight that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005484 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lat, qc, level, value
Sensor: humidity | fields: unit, ts, lon, level
Task: Fetch depth from pressure where unit exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005485 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, depth, qc, ts
Sensor: turbidity | fields: ts, lat, type, value
Task: Get depth from soil_moisture where depth exceeds the count of depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005486 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, qc, depth, type
Sensor: visibility | fields: ts, type, lat, reading
Task: Fetch depth from turbidity where value is greater than the total of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005487 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: reading, value, lat, unit
Sensor: cloud_cover | fields: ts, value, unit, level
Task: Retrieve reading from visibility that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005488 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: depth, type, value, qc
Sensor: dew_point | fields: depth, value, unit, ts
Task: Fetch lon from uv_index that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005489 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: type, value, lat, depth
Sensor: rainfall | fields: type, lon, ts, depth
Task: Get lat from evaporation where qc appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005490 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: type, unit, ts, qc
Sensor: dew_point | fields: lon, ts, reading, lat
Task: Retrieve depth from drought_index whose depth is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005491 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, depth, qc, value
Sensor: wind_speed | fields: type, reading, value, lon
Task: Fetch depth from sunlight where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005492 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: unit, depth, qc, lon
Sensor: air_quality | fields: type, reading, qc, value
Task: Retrieve depth from evaporation that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005493 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: depth, lon, unit, level
Sensor: soil_moisture | fields: value, reading, type, lon
Task: Fetch depth from air_quality where reading is greater than the average of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005494 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: unit, reading, depth, value
Sensor: uv_index | fields: lat, value, level, ts
Task: Fetch lat from dew_point where depth is greater than the maximum of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005495 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: level, lon, lat, ts
Sensor: dew_point | fields: reading, depth, lat, type
Task: Retrieve level from visibility whose unit is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005496 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, level, depth, qc
Sensor: dew_point | fields: value, depth, qc, ts
Task: Get reading from wind_speed where ts appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005497 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, ts, lon, type
Sensor: rainfall | fields: depth, unit, value, qc
Task: Fetch value from frost where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005498 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, depth, lat, qc
Sensor: pressure | fields: depth, lon, qc, ts
Task: Get lon from uv_index where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.