variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, unit, lat, reading
Sensor: sunlight | fields: lat, value, type, level
Task: Get level from cloud_cover where reading exceeds the count of depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020400 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, reading, depth, lon
Sensor: evaporation | fields: lat, depth, ts, type
Task: Retrieve level from sunlight with reading above the SUM(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020401 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lon, qc, type, ts
Sensor: uv_index | fields: type, ts, value, reading
Task: Fetch depth from visibility where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020402 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, reading, level, ts
Sensor: wind_speed | fields: ts, unit, level, value
Task: Fetch value from cloud_cover that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020403 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, ts, lat, depth
Sensor: pressure | fields: lon, lat, value, level
Task: Fetch lat from uv_index that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020404 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lon, reading, value, depth
Sensor: evaporation | fields: value, level, depth, unit
Task: Fetch level from rainfall that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020405 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, type, qc, depth
Sensor: sunlight | fields: lat, unit, value, lon
Task: Fetch value from temperature where depth exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020406 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, unit, level, lat
Sensor: sunlight | fields: depth, type, reading, level
Task: Fetch depth from snow_depth where depth is greater than the average of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020407 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, value, unit, lat
Sensor: snow_depth | fields: ts, lat, reading, qc
Task: Fetch depth from temperature that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020408 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lat, level, unit, ts
Sensor: drought_index | fields: type, qc, level, ts
Task: Retrieve level from humidity with value above the COUNT(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020409 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, level, lon, depth
Sensor: turbidity | fields: ts, type, qc, level
Task: Fetch reading from temperature where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020410 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: reading, lat, lon, unit
Sensor: frost | fields: unit, lat, qc, depth
Task: Fetch reading from turbidity where reading is greater than the minimum of value in frost for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020411 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: level, ts, reading, unit
Sensor: sunlight | fields: lon, type, reading, qc
Task: Fetch depth from uv_index where depth is greater than the average of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020412 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, unit, reading, depth
Sensor: evaporation | fields: unit, type, depth, qc
Task: Fetch reading from uv_index where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020413 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: ts, level, lat, value
Sensor: pressure | fields: value, reading, ts, qc
Task: Fetch reading from rainfall that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020414 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: depth, type, qc, value
Sensor: air_quality | fields: level, ts, type, reading
Task: Fetch level from drought_index where depth exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020415 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lon, depth, level, unit
Sensor: pressure | fields: lat, type, ts, level
Task: Fetch reading from visibility where depth exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020416 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, value, lat, ts
Sensor: drought_index | fields: lon, level, ts, unit
Task: Get value from soil_moisture where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020417 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, qc, lat, ts
Sensor: rainfall | fields: lat, ts, qc, depth
Task: Get level from sunlight where reading exceeds the average reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020418 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, lat, value, qc
Sensor: sunlight | fields: value, ts, reading, level
Task: Fetch depth from wind_speed where qc exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020419 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: lat, depth, value, qc
Sensor: wind_speed | fields: value, lon, ts, level
Task: Fetch reading from humidity where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020420 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lat, qc, lon, ts
Sensor: sunlight | fields: ts, value, lat, qc
Task: Get lon from humidity where reading exceeds the minimum depth from sunlight for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020421 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, qc, value, lat
Sensor: sunlight | fields: unit, ts, reading, value
Task: Retrieve reading from snow_depth whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020422 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: type, ts, unit, value
Sensor: lightning | fields: depth, qc, ts, lat
Task: Fetch lat from turbidity that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020423 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, value, unit, lon
Sensor: air_quality | fields: ts, reading, unit, depth
Task: Fetch lon from frost where value is greater than the count of of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020424 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: depth, lat, ts, qc
Sensor: lightning | fields: level, ts, qc, unit
Task: Get lon from dew_point where depth exceeds the total value from lightning for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020425 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lat, depth, level, type
Sensor: drought_index | fields: qc, reading, level, unit
Task: Retrieve lon from humidity that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020426 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lat, unit, ts, value
Sensor: cloud_cover | fields: value, type, reading, ts
Task: Retrieve value from turbidity with reading above the AVG(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
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",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020427 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: lat, reading, level, value
Sensor: air_quality | fields: ts, type, unit, level
Task: Retrieve value from uv_index whose depth is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020428 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, unit, level, depth
Sensor: soil_moisture | fields: level, lon, unit, qc
Task: Fetch level from air_quality that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020429 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: level, reading, qc, lon
Sensor: pressure | fields: lat, type, ts, lon
Task: Retrieve level from turbidity that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020430 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: qc, lon, depth, unit
Sensor: air_quality | fields: type, value, unit, reading
Task: Retrieve value from dew_point whose qc is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020431 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, value, ts, qc
Sensor: rainfall | fields: lon, value, qc, level
Task: Retrieve lon from soil_moisture whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020432 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: type, lat, level, unit
Sensor: pressure | fields: qc, reading, type, lat
Task: Fetch lat from temperature where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020433 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: qc, level, lon, unit
Sensor: humidity | fields: qc, depth, ts, value
Task: Get lon from uv_index where value exceeds the maximum depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020434 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, level, value, qc
Sensor: snow_depth | fields: value, depth, lon, reading
Task: Fetch reading from frost where value is greater than the count of of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020435 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, unit, qc, level
Sensor: uv_index | fields: unit, lat, qc, lon
Task: Fetch reading from snow_depth where reading is greater than the total of depth in uv_index for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020436 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lat, lon, qc, value
Sensor: humidity | fields: qc, lon, ts, depth
Task: Retrieve lon from sunlight with depth above the MAX(reading) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020437 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, lat, value, qc
Sensor: pressure | fields: value, lat, level, unit
Task: Fetch lat from snow_depth where ts exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020438 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: level, unit, value, qc
Sensor: uv_index | fields: value, ts, lon, qc
Task: Get reading from drought_index where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020439 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: type, lat, level, lon
Sensor: temperature | fields: ts, lat, unit, level
Task: Get lon from visibility where depth exceeds the total value from temperature for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020440 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, lon, lat, depth
Sensor: lightning | fields: level, depth, qc, type
Task: Fetch value from soil_moisture where qc exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020441 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, value, lon, type
Sensor: temperature | fields: lat, depth, reading, lon
Task: Retrieve lat from pressure that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020442 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, ts, depth, lat
Sensor: wind_speed | fields: unit, type, ts, lat
Task: Retrieve value from sunlight whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020443 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: qc, value, lat, ts
Sensor: snow_depth | fields: value, unit, lat, ts
Task: Fetch depth from sunlight where unit exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020444 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: level, lon, type, value
Sensor: sunlight | fields: lon, unit, ts, value
Task: Retrieve depth from frost with depth above the SUM(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020445 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lon, type, qc, unit
Sensor: evaporation | fields: value, unit, lat, type
Task: Fetch depth from visibility where unit exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020446 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lon, value, type, lat
Sensor: humidity | fields: level, value, lat, reading
Task: Fetch value from dew_point where depth exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020447 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, value, reading, lon
Sensor: soil_moisture | fields: lat, type, level, ts
Task: Get lat from cloud_cover where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020448 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: reading, depth, qc, ts
Sensor: evaporation | fields: level, value, ts, lon
Task: Get lon from rainfall where depth exceeds the total reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020449 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, depth, value, type
Sensor: pressure | fields: lon, reading, value, lat
Task: Fetch lat from cloud_cover where value is greater than the minimum of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020450 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, level, ts, value
Sensor: lightning | fields: level, value, type, ts
Task: Retrieve value from sunlight that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020451 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: value, depth, lon, unit
Sensor: soil_moisture | fields: value, type, qc, lat
Task: Fetch level from sunlight that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020452 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: level, type, lon, depth
Sensor: air_quality | fields: unit, ts, lat, qc
Task: Get level from turbidity where ts appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020453 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: lon, ts, unit, lat
Sensor: dew_point | fields: ts, type, reading, lon
Task: Fetch depth from turbidity where reading is greater than the count of of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020454 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lon, unit, ts, value
Sensor: turbidity | fields: unit, level, qc, type
Task: Fetch level from dew_point where reading is greater than the count of of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020455 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: qc, type, lon, reading
Sensor: pressure | fields: reading, unit, ts, qc
Task: Get depth from frost where depth exceeds the maximum depth from pressure for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020456 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, ts, depth, level
Sensor: turbidity | fields: ts, depth, unit, reading
Task: Fetch depth from rainfall that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020457 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: depth, lon, level, qc
Sensor: rainfall | fields: lon, value, level, depth
Task: Retrieve value from humidity that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020458 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: ts, lat, unit, value
Sensor: lightning | fields: value, ts, unit, lon
Task: Fetch lat from temperature where value is greater than the minimum of reading in lightning for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020459 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: type, lat, reading, unit
Sensor: frost | fields: reading, unit, ts, level
Task: Fetch lat from humidity where reading is greater than the maximum of value in frost for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020460 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lon, depth, reading, lat
Sensor: lightning | fields: qc, lon, lat, level
Task: Get depth from drought_index where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020461 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, lat, value, type
Sensor: evaporation | fields: qc, lon, level, type
Task: Retrieve level from dew_point with depth above the MAX(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020462 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, unit, ts, lat
Sensor: lightning | fields: qc, type, value, reading
Task: Get level from visibility where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020463 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: value, lat, unit, reading
Sensor: visibility | fields: value, unit, reading, lon
Task: Retrieve level from sunlight that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020464 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, level, type, ts
Sensor: dew_point | fields: lon, qc, level, depth
Task: Get depth from soil_moisture where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020465 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: level, qc, depth, ts
Sensor: cloud_cover | fields: depth, lat, unit, qc
Task: Retrieve lat from temperature with depth above the MAX(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020466 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, type, reading, level
Sensor: evaporation | fields: lon, level, type, depth
Task: Get reading from drought_index where unit appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020467 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: depth, lat, qc, ts
Sensor: wind_speed | fields: lat, depth, level, type
Task: Retrieve level from dew_point with value above the MIN(depth) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020468 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, lon, type, unit
Sensor: air_quality | fields: ts, value, qc, unit
Task: Fetch lon from cloud_cover where depth is greater than the maximum of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020469 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lat, level, value, qc
Sensor: evaporation | fields: qc, depth, type, lat
Task: Retrieve depth from turbidity with reading above the COUNT(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020470 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: level, value, qc, reading
Sensor: temperature | fields: reading, qc, level, value
Task: Fetch lat from lightning where value is greater than the count of of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020471 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lat, depth, qc, reading
Sensor: air_quality | fields: qc, ts, lon, value
Task: Get value from lightning where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020472 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, qc, ts, depth
Sensor: wind_speed | fields: lat, value, reading, type
Task: Get value from cloud_cover where ts appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020473 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: reading, ts, value, level
Sensor: turbidity | fields: type, unit, value, lon
Task: Get depth from temperature where value exceeds the total value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020474 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: depth, value, reading, level
Sensor: evaporation | fields: unit, depth, lat, reading
Task: Get depth from air_quality where ts appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020475 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, level, lon, value
Sensor: soil_moisture | fields: depth, value, reading, type
Task: Retrieve reading from cloud_cover with reading above the MIN(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020476 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: level, lat, qc, lon
Sensor: dew_point | fields: depth, ts, lat, unit
Task: Retrieve value from rainfall whose ts is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020477 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lon, lat, level, depth
Sensor: air_quality | fields: ts, qc, lon, level
Task: Fetch reading from humidity where depth is greater than the average of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020478 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: type, ts, value, qc
Sensor: temperature | fields: lon, type, lat, level
Task: Get reading from visibility where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020479 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: reading, unit, qc, type
Sensor: uv_index | fields: reading, qc, level, unit
Task: Get lat from temperature where qc appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020480 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: qc, reading, ts, value
Sensor: uv_index | fields: reading, value, unit, lat
Task: Fetch lon from sunlight that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020481 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: value, depth, level, unit
Sensor: pressure | fields: unit, ts, value, type
Task: Fetch lat from evaporation where unit exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020482 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, lat, reading, depth
Sensor: uv_index | fields: unit, value, depth, level
Task: Retrieve depth from rainfall with reading above the MAX(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020483 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lat, level, qc, unit
Sensor: frost | fields: level, reading, ts, lat
Task: Retrieve value from air_quality that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020484 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: unit, ts, lat, qc
Sensor: soil_moisture | fields: qc, unit, depth, value
Task: Retrieve value from evaporation that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020485 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, type, lat, depth
Sensor: turbidity | fields: type, qc, lat, ts
Task: Fetch level from soil_moisture where depth is greater than the average of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"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_020486 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: ts, lon, value, depth
Sensor: soil_moisture | fields: unit, value, reading, lon
Task: Get lon from pressure where depth exceeds the average reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020487 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: ts, lat, value, qc
Sensor: visibility | fields: depth, reading, level, ts
Task: Retrieve depth from turbidity that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020488 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: depth, level, lat, reading
Sensor: sunlight | fields: depth, lon, level, value
Task: Get value from dew_point where reading exceeds the total reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020489 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, unit, type, ts
Sensor: frost | fields: qc, unit, depth, ts
Task: Get depth from turbidity where depth appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020490 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, value, type, level
Sensor: cloud_cover | fields: lat, qc, ts, lon
Task: Get lon from wind_speed where reading exceeds the count of value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020491 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, qc, reading, unit
Sensor: lightning | fields: depth, lat, qc, ts
Task: Fetch value from soil_moisture where value is greater than the maximum of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020492 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: type, value, ts, reading
Sensor: temperature | fields: depth, value, level, lon
Task: Fetch reading from evaporation where ts exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020493 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, reading, lat, depth
Sensor: turbidity | fields: unit, type, lon, ts
Task: Retrieve lon from cloud_cover that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020494 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lat, ts, type
Sensor: pressure | fields: ts, unit, reading, qc
Task: Retrieve depth from turbidity whose depth is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"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_020495 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: qc, lon, reading, value
Sensor: wind_speed | fields: depth, lon, lat, type
Task: Get lon from rainfall where reading exceeds the maximum reading from wind_speed for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020496 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lon, unit, reading, ts
Sensor: evaporation | fields: reading, type, lon, lat
Task: Get reading from humidity where type appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020497 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: level, depth, unit, value
Sensor: sunlight | fields: level, depth, reading, lon
Task: Retrieve reading from pressure with depth above the MAX(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020498 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lon, qc, lat, unit
Sensor: evaporation | fields: unit, lon, ts, lat
Task: Retrieve level from lightning that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.