variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, value, depth, level
Sensor: soil_moisture | fields: unit, depth, value, ts
Task: Fetch lon from temperature that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041400 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: type, level, depth, lat
Sensor: snow_depth | fields: qc, lon, reading, ts
Task: Get reading from visibility where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041401 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, unit, level, depth
Sensor: frost | fields: reading, type, lon, depth
Task: Fetch level from pressure where depth is greater than the maximum of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041402 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, unit, lat, lon
Sensor: rainfall | fields: lat, type, unit, reading
Task: Retrieve value from humidity with reading above the SUM(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041403 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: type, qc, lat, ts
Sensor: temperature | fields: type, qc, value, depth
Task: Retrieve lon from lightning that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041404 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: qc, ts, reading, type
Sensor: drought_index | fields: ts, unit, type, depth
Task: Fetch value from turbidity where qc exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041405 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: level, unit, ts, depth
Sensor: turbidity | fields: level, depth, qc, lat
Task: Fetch reading from uv_index where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041406 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: type, depth, reading, qc
Sensor: humidity | fields: unit, qc, reading, lon
Task: Get lat from rainfall where depth exceeds the minimum value from humidity for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041407 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: level, lat, ts, depth
Sensor: evaporation | fields: type, lon, ts, reading
Task: Fetch lat from rainfall where reading is greater than the average of value in evaporation for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041408 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, depth, reading, level
Sensor: turbidity | fields: type, reading, level, lat
Task: Fetch value from humidity that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041409 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: unit, reading, lon, lat
Sensor: cloud_cover | fields: level, unit, qc, type
Task: Fetch depth from humidity where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041410 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, ts, unit, depth
Sensor: temperature | fields: lat, ts, lon, unit
Task: Retrieve depth from uv_index with reading above the MIN(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041411 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: qc, ts, unit, reading
Sensor: frost | fields: ts, lon, qc, type
Task: Retrieve depth from temperature whose ts is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041412 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: level, ts, unit, qc
Sensor: frost | fields: level, unit, lat, type
Task: Retrieve lat from rainfall that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041413 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lat, reading, lon, unit
Sensor: lightning | fields: lon, qc, type, level
Task: Retrieve value from visibility whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041414 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: type, lon, reading, unit
Sensor: turbidity | fields: value, unit, lon, reading
Task: Retrieve lat from uv_index with reading above the AVG(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041415 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: value, type, lat, reading
Sensor: drought_index | fields: depth, qc, value, lon
Task: Fetch depth from sunlight where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041416 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, lon, type, ts
Sensor: pressure | fields: qc, unit, reading, lon
Task: Retrieve value from cloud_cover whose depth is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041417 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, level, depth, unit
Sensor: visibility | fields: reading, value, lon, lat
Task: Retrieve value from soil_moisture with depth above the SUM(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041418 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, type, value, unit
Sensor: frost | fields: lon, reading, value, unit
Task: Fetch lon from wind_speed that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041419 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, unit, qc, value
Sensor: temperature | fields: type, lon, unit, depth
Task: Fetch depth from pressure where value is greater than the average of depth in temperature for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041420 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, reading, unit, ts
Sensor: snow_depth | fields: reading, lat, unit, value
Task: Retrieve lat from evaporation with value above the COUNT(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041421 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: ts, lon, type, value
Sensor: temperature | fields: value, lon, unit, type
Task: Retrieve depth from pressure whose ts is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041422 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, unit, lon, ts
Sensor: drought_index | fields: lon, lat, reading, depth
Task: Fetch level from cloud_cover where type exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041423 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, lat, reading, value
Sensor: lightning | fields: reading, lat, level, depth
Task: Fetch depth from turbidity where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041424 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, level, lat, ts
Sensor: drought_index | fields: lat, value, depth, qc
Task: Retrieve lon from soil_moisture whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041425 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: type, reading, lon, depth
Sensor: temperature | fields: reading, depth, lat, level
Task: Fetch level from visibility that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041426 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, ts, value, reading
Sensor: cloud_cover | fields: depth, value, level, reading
Task: Get level from soil_moisture where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041427 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, depth, value, lat
Sensor: temperature | fields: qc, reading, lat, type
Task: Retrieve reading from air_quality whose type is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041428 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, level, lon, qc
Sensor: cloud_cover | fields: level, qc, unit, lon
Task: Get value from soil_moisture where reading exceeds the maximum depth from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041429 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lat, qc, lon, value
Sensor: soil_moisture | fields: ts, reading, level, lon
Task: Retrieve reading from evaporation whose ts is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041430 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, value, lon, level
Sensor: lightning | fields: lat, lon, value, level
Task: Get lon from snow_depth where reading exceeds the count of reading from lightning for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041431 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: type, level, value, lat
Sensor: wind_speed | fields: lon, type, qc, level
Task: Fetch depth from humidity where value is greater than the average of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041432 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, depth, level, reading
Sensor: drought_index | fields: unit, value, lon, lat
Task: Retrieve lon from rainfall with depth above the MIN(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041433 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: level, lon, qc, ts
Sensor: drought_index | fields: depth, level, reading, unit
Task: Fetch depth from dew_point where type exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041434 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, type, lon, lat
Sensor: pressure | fields: value, unit, reading, level
Task: Fetch lat from cloud_cover where depth is greater than the count of of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041435 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: type, lat, depth, value
Sensor: frost | fields: level, value, qc, ts
Task: Get lon from snow_depth where depth appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041436 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: lon, ts, level, reading
Sensor: temperature | fields: qc, lat, unit, ts
Task: Fetch lat from evaporation that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041437 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, reading, unit, value
Sensor: evaporation | fields: type, lon, ts, unit
Task: Fetch reading from snow_depth where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041438 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, qc, level, lat
Sensor: cloud_cover | fields: reading, depth, unit, ts
Task: Retrieve value from frost with depth above the AVG(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041439 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: unit, ts, lat, level
Sensor: drought_index | fields: level, reading, lon, unit
Task: Retrieve depth from evaporation with depth above the MAX(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041440 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, ts, level, depth
Sensor: snow_depth | fields: unit, type, value, level
Task: Fetch lon from wind_speed where depth exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041441 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, value, qc, lon
Sensor: soil_moisture | fields: depth, qc, lat, value
Task: Get reading from wind_speed where ts appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041442 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: value, reading, lat, level
Sensor: air_quality | fields: qc, level, unit, value
Task: Retrieve level from turbidity that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041443 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, unit, qc, depth
Sensor: air_quality | fields: ts, value, lon, depth
Task: Get lon from cloud_cover where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041444 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, value, lat, level
Sensor: humidity | fields: level, ts, qc, reading
Task: Get reading from sunlight where reading exceeds the count of depth from humidity for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041445 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, qc, ts, lon
Sensor: rainfall | fields: ts, type, unit, level
Task: Fetch value from dew_point that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041446 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, lon, level, reading
Sensor: sunlight | fields: qc, level, depth, unit
Task: Fetch value from temperature that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041447 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: type, lat, unit, ts
Sensor: cloud_cover | fields: value, reading, qc, unit
Task: Fetch lon from uv_index where type exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041448 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, lat, ts, type
Sensor: frost | fields: depth, lon, value, lat
Task: Get depth from turbidity where type appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041449 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, level, type, reading
Sensor: lightning | fields: ts, unit, type, value
Task: Fetch depth from snow_depth that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041450 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lon, ts, reading, level
Sensor: lightning | fields: unit, value, lon, ts
Task: Retrieve reading from temperature with depth above the SUM(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041451 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: value, qc, level, lon
Sensor: drought_index | fields: level, value, reading, lon
Task: Retrieve depth from pressure that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041452 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: level, lon, type, unit
Sensor: pressure | fields: depth, lat, lon, value
Task: Retrieve lat from rainfall with value above the AVG(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041453 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: unit, value, qc, depth
Sensor: evaporation | fields: ts, qc, depth, lon
Task: Get value from dew_point where depth appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041454 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: value, qc, level, reading
Sensor: humidity | fields: reading, ts, unit, lat
Task: Retrieve level from visibility whose type is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041455 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: qc, unit, value, lat
Sensor: evaporation | fields: unit, lon, depth, qc
Task: Retrieve reading from turbidity that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041456 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, lon, lat, value
Sensor: cloud_cover | fields: value, lat, reading, depth
Task: Get reading from soil_moisture where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041457 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: level, reading, qc, ts
Sensor: snow_depth | fields: level, value, depth, reading
Task: Get reading from pressure where type appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041458 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: value, qc, lat, unit
Sensor: turbidity | fields: level, depth, type, qc
Task: Get lat from temperature where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041459 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: reading, level, ts, unit
Sensor: humidity | fields: unit, depth, type, lat
Task: Fetch depth from dew_point where type exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041460 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: type, level, lat, reading
Sensor: lightning | fields: qc, lat, value, depth
Task: Retrieve lon from frost that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041461 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lat, type, reading, qc
Sensor: turbidity | fields: unit, lat, reading, lon
Task: Get level from pressure where reading exceeds the minimum reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041462 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: value, type, ts, reading
Sensor: rainfall | fields: lon, unit, qc, ts
Task: Get value from uv_index where value exceeds the average reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041463 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lon, ts, type, qc
Sensor: lightning | fields: type, lat, reading, lon
Task: Get value from humidity where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041464 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, lat, unit, reading
Sensor: rainfall | fields: reading, ts, value, unit
Task: Retrieve reading from cloud_cover with value above the MAX(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041465 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: unit, lon, value, level
Sensor: rainfall | fields: ts, depth, unit, lat
Task: Retrieve reading from frost whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041466 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, type, qc, depth
Sensor: pressure | fields: depth, unit, ts, lat
Task: Retrieve lon from turbidity with depth above the AVG(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041467 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: value, lat, ts, level
Sensor: turbidity | fields: reading, qc, type, unit
Task: Retrieve reading from snow_depth with depth above the MIN(value) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"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_041468 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, lat, ts, value
Sensor: uv_index | fields: value, reading, level, type
Task: Get value from visibility where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041469 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, lon, ts, reading
Sensor: temperature | fields: reading, lon, level, lat
Task: Get reading from soil_moisture where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041470 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: unit, qc, lat, type
Sensor: frost | fields: value, lon, reading, depth
Task: Get lon from turbidity where depth appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041471 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: ts, lon, level, reading
Sensor: visibility | fields: lon, value, reading, lat
Task: Get lat from evaporation where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041472 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: reading, ts, depth, unit
Sensor: pressure | fields: ts, level, type, qc
Task: Retrieve depth from humidity that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041473 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: ts, unit, depth, qc
Sensor: sunlight | fields: type, depth, value, reading
Task: Get lon from pressure where depth appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041474 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, type, lon, reading
Sensor: temperature | fields: value, qc, lat, level
Task: Retrieve level from wind_speed that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041475 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, type, lat, qc
Sensor: cloud_cover | fields: lat, depth, value, lon
Task: Get level from visibility where ts appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041476 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, type, qc, ts
Sensor: evaporation | fields: lon, ts, reading, type
Task: Fetch depth from uv_index where depth is greater than the maximum of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041477 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lat, value, ts, type
Sensor: humidity | fields: type, lat, unit, ts
Task: Get value from rainfall where unit appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041478 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, depth, value, lat
Sensor: frost | fields: qc, unit, value, level
Task: Fetch level from wind_speed that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041479 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: ts, qc, lat, lon
Sensor: snow_depth | fields: ts, lon, type, qc
Task: Retrieve lat from uv_index that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041480 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: unit, value, level, lon
Sensor: cloud_cover | fields: ts, lon, reading, type
Task: Get level from lightning where unit appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041481 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, unit, qc, lon
Sensor: wind_speed | fields: reading, lat, depth, ts
Task: Fetch level from cloud_cover where unit exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041482 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: value, ts, unit, type
Sensor: visibility | fields: type, ts, depth, lon
Task: Retrieve level from snow_depth that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041483 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lon, lat, depth, reading
Sensor: air_quality | fields: level, qc, depth, lat
Task: Get value from uv_index where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041484 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: reading, type, depth, lat
Sensor: sunlight | fields: lon, value, level, reading
Task: Retrieve lat from dew_point with depth above the COUNT(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041485 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, qc, type, unit
Sensor: pressure | fields: level, reading, ts, lon
Task: Get value from snow_depth where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041486 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: qc, reading, level, ts
Sensor: humidity | fields: type, lon, value, lat
Task: Get reading from sunlight where unit appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041487 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: type, lon, reading, qc
Sensor: uv_index | fields: value, ts, level, lat
Task: Fetch value from visibility where depth is greater than the maximum of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041488 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: ts, value, lon, level
Sensor: drought_index | fields: type, reading, qc, ts
Task: Retrieve lon from dew_point whose qc is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041489 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, type, unit, qc
Sensor: humidity | fields: lon, unit, ts, level
Task: Retrieve lon from dew_point whose qc is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041490 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: type, lat, depth, qc
Sensor: lightning | fields: level, lon, unit, depth
Task: Get lon from turbidity where depth exceeds the total reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041491 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, type, lat, unit
Sensor: frost | fields: value, lat, type, qc
Task: Get value from visibility where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041492 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: value, lon, ts, unit
Sensor: temperature | fields: level, type, reading, lon
Task: Get lon from wind_speed where depth exceeds the maximum depth from temperature for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041493 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, qc, value, depth
Sensor: temperature | fields: depth, qc, value, level
Task: Get lon from wind_speed where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041494 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: ts, qc, reading, level
Sensor: visibility | fields: depth, reading, ts, qc
Task: Retrieve lon from frost that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041495 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, value, qc, ts
Sensor: uv_index | fields: level, depth, ts, qc
Task: Retrieve reading from cloud_cover whose qc is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041496 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: unit, lat, reading, lon
Sensor: snow_depth | fields: lon, lat, type, value
Task: Retrieve lat from lightning with reading above the MIN(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041497 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: type, level, reading, depth
Sensor: lightning | fields: lat, unit, depth, type
Task: Retrieve depth from drought_index with value above the SUM(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041498 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: depth, reading, qc, unit
Sensor: wind_speed | fields: unit, type, lat, value
Task: Fetch value from evaporation where type exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.