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: dew_point | code: thr | fields: lat, qc, value, unit
Sensor: uv_index | fields: type, value, qc, lat
Task: Retrieve reading from dew_point that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082400 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: unit, level, value, ts
Sensor: pressure | fields: type, ts, level, value
Task: Get value from temperature where depth exceeds the average reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082401 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, unit, lat, reading
Sensor: pressure | fields: lon, type, depth, level
Task: Get level from soil_moisture where value exceeds the count of reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082402 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, unit, type, depth
Sensor: wind_speed | fields: lon, qc, ts, unit
Task: Retrieve reading from soil_moisture whose unit is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082403 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, type, lon, unit
Sensor: humidity | fields: unit, type, reading, qc
Task: Retrieve depth from cloud_cover that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082404 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: value, lon, lat, type
Sensor: wind_speed | fields: lon, unit, reading, qc
Task: Get lat from pressure where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082405 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, value, type, ts
Sensor: humidity | fields: type, level, ts, lat
Task: Fetch lon from soil_moisture that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082406 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: unit, level, type, ts
Sensor: pressure | fields: lat, depth, unit, level
Task: Fetch level from lightning where unit exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082407 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, type, value, ts
Sensor: wind_speed | fields: lat, unit, lon, depth
Task: Get value from drought_index where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082408 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: type, lon, unit, ts
Sensor: frost | fields: reading, level, lat, unit
Task: Fetch value from wind_speed where depth is greater than the maximum of value in frost for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082409 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: level, value, type, lat
Sensor: wind_speed | fields: value, ts, type, lon
Task: Fetch depth from drought_index where reading is greater than the maximum of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082410 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: level, lat, depth, value
Sensor: visibility | fields: type, ts, unit, depth
Task: Get value from snow_depth where value exceeds the total depth from visibility for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082411 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, level, lat, type
Sensor: humidity | fields: lat, ts, qc, level
Task: Get lat from soil_moisture where unit appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082412 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: unit, ts, qc, lon
Sensor: snow_depth | fields: reading, lat, depth, qc
Task: Get value from lightning where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082413 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, lon, type, lat
Sensor: snow_depth | fields: ts, level, lat, unit
Task: Fetch lon from soil_moisture where ts exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082414 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: value, unit, qc, ts
Sensor: rainfall | fields: value, unit, reading, type
Task: Get level from lightning where reading exceeds the count of depth from rainfall for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082415 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: type, reading, value, level
Sensor: cloud_cover | fields: lon, type, ts, unit
Task: Get level from visibility where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082416 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, lon, lat, depth
Sensor: lightning | fields: depth, level, lat, qc
Task: Retrieve reading from snow_depth whose ts is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082417 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: qc, depth, ts, level
Sensor: cloud_cover | fields: depth, lat, lon, qc
Task: Get lat from frost where reading exceeds the total reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082418 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, level, lat, unit
Sensor: wind_speed | fields: type, lon, depth, unit
Task: Fetch depth from cloud_cover where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082419 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: value, ts, type, qc
Sensor: visibility | fields: unit, type, lon, qc
Task: Fetch lat from pressure where depth is greater than the total of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082420 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: type, value, qc, reading
Sensor: cloud_cover | fields: value, lon, unit, qc
Task: Fetch level from snow_depth where depth exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082421 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: depth, level, ts, reading
Sensor: drought_index | fields: ts, unit, type, depth
Task: Get reading from lightning where unit appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082422 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: type, ts, depth, unit
Sensor: air_quality | fields: unit, reading, type, level
Task: Fetch value from rainfall where depth is greater than the minimum of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082423 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, qc, level, type
Sensor: turbidity | fields: type, qc, lat, lon
Task: Fetch lat from snow_depth that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082424 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: reading, lon, value, lat
Sensor: soil_moisture | fields: ts, lon, type, qc
Task: Fetch depth from temperature where reading is greater than the maximum of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082425 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: value, ts, depth, reading
Sensor: cloud_cover | fields: level, ts, lat, type
Task: Get level from turbidity where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082426 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: ts, lon, level, depth
Sensor: wind_speed | fields: unit, level, lon, ts
Task: Get reading from temperature where depth exceeds the count of value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082427 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, value, depth, type
Sensor: evaporation | fields: lon, ts, lat, level
Task: Get lon from drought_index where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082428 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: level, value, unit, depth
Sensor: temperature | fields: lon, level, qc, reading
Task: Fetch depth from sunlight that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082429 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, unit, reading, lon
Sensor: sunlight | fields: value, depth, lat, ts
Task: Fetch depth from cloud_cover where type exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082430 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: qc, ts, type, level
Sensor: evaporation | fields: lat, depth, unit, qc
Task: Get lat from visibility where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082431 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: value, ts, type, lon
Sensor: evaporation | fields: unit, type, qc, ts
Task: Fetch value from visibility where depth is greater than the count of of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082432 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: depth, lat, qc, value
Sensor: wind_speed | fields: level, ts, value, type
Task: Fetch lat from pressure where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082433 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, unit, lat, depth
Sensor: snow_depth | fields: type, value, lon, ts
Task: Retrieve depth from temperature whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082434 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lat, lon, type, level
Sensor: evaporation | fields: lat, ts, level, qc
Task: Get lat from pressure where reading exceeds the maximum value from evaporation for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082435 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lat, depth, qc, unit
Sensor: temperature | fields: unit, level, value, reading
Task: Fetch lon from visibility that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082436 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lat, ts, reading, qc
Sensor: lightning | fields: unit, ts, qc, lat
Task: Retrieve reading from dew_point that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082437 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: lon, depth, qc, value
Sensor: uv_index | fields: unit, lon, value, qc
Task: Fetch depth from dew_point where unit exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082438 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, lon, depth, reading
Sensor: uv_index | fields: depth, type, value, ts
Task: Retrieve reading from soil_moisture whose ts is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082439 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, unit, ts, value
Sensor: lightning | fields: qc, ts, lat, lon
Task: Get value from pressure where depth appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082440 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, lat, qc, lon
Sensor: uv_index | fields: depth, value, reading, qc
Task: Fetch lat from soil_moisture where depth is greater than the total of value in uv_index for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082441 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, value, reading, depth
Sensor: wind_speed | fields: lat, value, lon, qc
Task: Retrieve lon from lightning with reading above the MIN(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082442 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: reading, lon, ts, level
Sensor: evaporation | fields: lon, ts, type, level
Task: Fetch lat from visibility where type exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082443 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: ts, qc, unit, level
Sensor: uv_index | fields: lon, qc, reading, unit
Task: Fetch depth from drought_index that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082444 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, ts, lat, type
Sensor: turbidity | fields: qc, level, depth, ts
Task: Retrieve level from frost with value above the AVG(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082445 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, level, lon, depth
Sensor: humidity | fields: lat, unit, reading, lon
Task: Get lon from soil_moisture where depth appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082446 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: qc, lat, value, unit
Sensor: dew_point | fields: type, qc, level, reading
Task: Retrieve lat from evaporation with depth above the MAX(value) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082447 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, lat, type, ts
Sensor: lightning | fields: reading, level, qc, lat
Task: Get lon from pressure where depth exceeds the total value from lightning for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082448 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: ts, qc, value, depth
Sensor: soil_moisture | fields: type, depth, lon, lat
Task: Get lat from temperature where depth exceeds the minimum reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082449 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, reading, qc, lon
Sensor: cloud_cover | fields: reading, qc, lon, level
Task: Get level from air_quality where depth exceeds the count of value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082450 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, unit, ts, lon
Sensor: turbidity | fields: reading, value, unit, level
Task: Retrieve depth from wind_speed whose ts is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082451 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: reading, value, ts, type
Sensor: temperature | fields: reading, qc, depth, type
Task: Fetch reading from turbidity where depth exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082452 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: ts, unit, lon, depth
Sensor: frost | fields: unit, depth, type, lat
Task: Get lon from pressure where unit appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082453 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: unit, lat, level, lon
Sensor: pressure | fields: ts, value, lat, qc
Task: Get value from visibility where qc appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082454 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lat, level, unit, depth
Sensor: rainfall | fields: reading, level, ts, type
Task: Retrieve reading from visibility whose qc is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082455 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lat, qc, level, value
Sensor: soil_moisture | fields: lat, reading, type, unit
Task: Fetch reading from air_quality where depth is greater than the total of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082456 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lon, level, reading, ts
Sensor: drought_index | fields: lon, qc, lat, ts
Task: Retrieve lon from temperature whose type is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082457 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: type, reading, qc, unit
Sensor: uv_index | fields: lat, level, reading, qc
Task: Fetch lat from snow_depth that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082458 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: level, lat, type, unit
Sensor: temperature | fields: level, unit, lat, type
Task: Get value from wind_speed where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082459 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: ts, level, reading, lon
Sensor: lightning | fields: reading, unit, lon, lat
Task: Get lat from sunlight where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082460 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, reading, lon, ts
Sensor: drought_index | fields: lon, qc, depth, level
Task: Retrieve lat from soil_moisture with reading above the MAX(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082461 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: reading, lat, value, unit
Sensor: snow_depth | fields: reading, value, lat, ts
Task: Get lon from temperature where reading exceeds the average reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082462 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: ts, type, lon, lat
Sensor: visibility | fields: value, unit, lon, reading
Task: Retrieve reading from uv_index whose unit is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082463 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lon, ts, lat, value
Sensor: wind_speed | fields: lat, qc, depth, unit
Task: Get reading from evaporation where value exceeds the maximum value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082464 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, type, depth, value
Sensor: frost | fields: value, unit, level, lon
Task: Retrieve lon from cloud_cover with reading above the MIN(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082465 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: reading, lon, type, depth
Sensor: turbidity | fields: level, lat, value, depth
Task: Retrieve lat from dew_point that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082466 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: level, ts, reading, type
Sensor: dew_point | fields: lon, value, level, ts
Task: Fetch value from visibility where value is greater than the minimum of reading in dew_point for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082467 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, unit, value, level
Sensor: soil_moisture | fields: lon, reading, value, depth
Task: Retrieve value from cloud_cover with value above the SUM(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082468 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: ts, type, value, reading
Sensor: wind_speed | fields: level, reading, depth, qc
Task: Get depth from rainfall where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082469 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lat, value, qc
Sensor: visibility | fields: value, type, ts, level
Task: Retrieve reading from rainfall that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082470 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: depth, reading, type, ts
Sensor: pressure | fields: lon, level, type, value
Task: Get reading from dew_point where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082471 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: qc, level, depth, reading
Sensor: soil_moisture | fields: type, ts, unit, lon
Task: Fetch lon from turbidity that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082472 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: qc, lat, depth, lon
Sensor: turbidity | fields: type, level, unit, depth
Task: Fetch level from evaporation where value is greater than the minimum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082473 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, value, ts, level
Sensor: visibility | fields: value, ts, type, lat
Task: Get lon from temperature where depth appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082474 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, qc, depth, reading
Sensor: dew_point | fields: unit, type, ts, qc
Task: Fetch lat from wind_speed where depth is greater than the total of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082475 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: reading, lat, type, ts
Sensor: uv_index | fields: unit, lat, type, lon
Task: Fetch lat from turbidity where reading is greater than the maximum of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082476 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: qc, lat, type, value
Sensor: turbidity | fields: value, depth, level, qc
Task: Get lat from visibility where type appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082477 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: type, lat, qc, ts
Sensor: lightning | fields: depth, qc, type, lon
Task: Fetch reading from turbidity that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082478 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: ts, lon, level, qc
Sensor: rainfall | fields: qc, lon, level, ts
Task: Get lon from frost where qc appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082479 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: qc, unit, type, reading
Sensor: soil_moisture | fields: value, qc, lon, ts
Task: Retrieve depth from pressure whose ts is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082480 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: unit, lon, reading, type
Sensor: sunlight | fields: depth, ts, level, unit
Task: Get value from dew_point where ts appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082481 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lon, lat, qc, depth
Sensor: temperature | fields: value, type, lat, ts
Task: Get reading from pressure where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082482 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: level, lon, ts, reading
Sensor: air_quality | fields: lat, value, level, type
Task: Fetch value from visibility where ts exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082483 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, lat, level, depth
Sensor: temperature | fields: reading, lon, depth, qc
Task: Fetch lon from turbidity where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082484 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: qc, level, value, reading
Sensor: turbidity | fields: lat, unit, depth, type
Task: Get lon from visibility where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082485 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, unit, type, level
Sensor: frost | fields: lon, reading, ts, lat
Task: Get reading from wind_speed where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082486 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lat, ts, level, qc
Sensor: snow_depth | fields: lat, type, unit, level
Task: Retrieve value from drought_index whose depth is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082487 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: unit, reading, depth, qc
Sensor: visibility | fields: unit, ts, qc, level
Task: Get depth from uv_index where depth exceeds the maximum depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082488 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: ts, qc, lat, value
Sensor: snow_depth | fields: lon, type, value, lat
Task: Retrieve lat from frost whose qc is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082489 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: level, qc, lon, type
Sensor: pressure | fields: level, unit, lon, type
Task: Fetch lat from turbidity where unit exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082490 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, depth, reading, type
Sensor: wind_speed | fields: lon, depth, ts, type
Task: Retrieve reading from sunlight whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082491 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: unit, reading, depth, ts
Sensor: visibility | fields: value, level, type, lon
Task: Retrieve level from uv_index with depth above the MIN(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082492 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: value, lat, reading, ts
Sensor: rainfall | fields: lat, reading, level, qc
Task: Retrieve depth from dew_point whose type is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082493 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, ts, value, qc
Sensor: cloud_cover | fields: value, level, unit, depth
Task: Get value from air_quality where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082494 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, unit, value, level
Sensor: air_quality | fields: value, lon, ts, unit
Task: Get level from wind_speed where reading exceeds the minimum reading from air_quality for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082495 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: value, unit, reading, ts
Sensor: pressure | fields: value, lon, type, depth
Task: Retrieve reading from air_quality with value above the SUM(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082496 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, qc, type, ts
Sensor: temperature | fields: reading, lat, qc, ts
Task: Retrieve lat from cloud_cover with depth above the SUM(reading) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082497 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: level, ts, type, reading
Sensor: soil_moisture | fields: lon, depth, unit, level
Task: Retrieve level from visibility whose type is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082498 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: type, lat, ts, level
Sensor: evaporation | fields: ts, depth, reading, value
Task: Get lon from drought_index where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.