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: frost | code: hub | fields: depth, type, ts, lon
Sensor: evaporation | fields: type, ts, reading, lon
Task: Retrieve level from frost that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007300 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, qc, ts, type
Sensor: temperature | fields: value, ts, depth, lat
Task: Get level from wind_speed where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007301 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, type, reading, qc
Sensor: pressure | fields: reading, qc, unit, lon
Task: Retrieve level from sunlight whose depth is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007302 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, lon, qc, depth
Sensor: pressure | fields: qc, level, unit, reading
Task: Retrieve value from cloud_cover that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007303 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lon, ts, level, depth
Sensor: turbidity | fields: unit, type, value, depth
Task: Get lon from pressure where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007304 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: depth, level, lon, type
Sensor: air_quality | fields: value, ts, depth, type
Task: Retrieve value from temperature whose qc is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007305 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, type, lon, value
Sensor: visibility | fields: level, type, depth, value
Task: Fetch lon from cloud_cover that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007306 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: level, type, qc, depth
Sensor: temperature | fields: reading, level, qc, type
Task: Fetch depth from snow_depth where ts exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007307 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: type, lon, reading, level
Sensor: dew_point | fields: type, ts, lat, lon
Task: Get lon from evaporation where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007308 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, reading, ts, value
Sensor: visibility | fields: reading, level, lon, depth
Task: Fetch lat from lightning where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007309 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, depth, qc, value
Sensor: uv_index | fields: lat, lon, ts, depth
Task: Get reading from drought_index where value exceeds the count of reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007310 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: type, depth, ts, lon
Sensor: uv_index | fields: type, lon, qc, reading
Task: Get reading from evaporation where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007311 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: type, reading, ts, lat
Sensor: dew_point | fields: reading, lon, lat, unit
Task: Get lon from sunlight where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007312 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: reading, lon, type, value
Sensor: pressure | fields: lat, depth, unit, qc
Task: Retrieve lat from lightning whose qc is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007313 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: reading, lon, depth, level
Sensor: drought_index | fields: reading, lat, qc, type
Task: Fetch reading from sunlight where depth is greater than the minimum of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007314 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, depth, unit, ts
Sensor: dew_point | fields: reading, type, ts, unit
Task: Fetch lon from drought_index that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007315 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, lon, level, value
Sensor: frost | fields: unit, reading, ts, type
Task: Get level from cloud_cover where depth exceeds the average reading from frost for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007316 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: ts, depth, lon, qc
Sensor: cloud_cover | fields: value, qc, lon, lat
Task: Fetch level from sunlight that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007317 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lat, level, ts, type
Sensor: temperature | fields: reading, unit, lon, value
Task: Fetch depth from frost that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007318 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: type, unit, qc, reading
Sensor: air_quality | fields: depth, type, reading, value
Task: Get level from snow_depth where type appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007319 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, type, value, unit
Sensor: humidity | fields: unit, level, depth, lon
Task: Fetch reading from cloud_cover that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007320 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, type, value, unit
Sensor: cloud_cover | fields: level, reading, ts, value
Task: Get value from sunlight where type appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007321 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: value, qc, lon, depth
Sensor: drought_index | fields: reading, lat, value, lon
Task: Fetch reading from uv_index where qc exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007322 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: depth, reading, lon, qc
Sensor: soil_moisture | fields: ts, level, qc, lon
Task: Retrieve level from evaporation that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007323 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: unit, qc, reading, depth
Sensor: temperature | fields: lat, reading, qc, depth
Task: Retrieve lon from air_quality with value above the MAX(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007324 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: value, reading, type, unit
Sensor: wind_speed | fields: type, depth, ts, lat
Task: Retrieve value from frost whose depth is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007325 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, type, ts, level
Sensor: rainfall | fields: ts, unit, reading, lat
Task: Retrieve lon from snow_depth that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007326 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: unit, lat, qc, level
Sensor: snow_depth | fields: unit, reading, value, type
Task: Retrieve lat from frost whose type is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007327 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, lat, depth, qc
Sensor: soil_moisture | fields: depth, lon, reading, qc
Task: Retrieve lat from evaporation with reading above the COUNT(value) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007328 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, ts, lon, level
Sensor: evaporation | fields: type, qc, lat, depth
Task: Get lon from snow_depth where depth appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007329 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: ts, lon, type, value
Sensor: rainfall | fields: ts, level, unit, lat
Task: Get lon from evaporation where depth exceeds the average reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007330 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, unit, ts, lon
Sensor: humidity | fields: type, level, lon, depth
Task: Fetch value from rainfall where qc exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007331 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lon, qc, value, type
Sensor: frost | fields: lon, type, ts, level
Task: Get lat from lightning where depth exceeds the count of reading from frost for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007332 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: ts, reading, depth, type
Sensor: dew_point | fields: value, unit, qc, lat
Task: Get level from uv_index where depth exceeds the maximum value from dew_point for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007333 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: value, level, type, reading
Sensor: wind_speed | fields: unit, ts, lat, reading
Task: Get reading from drought_index where value exceeds the total depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007334 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, level, ts, type
Sensor: lightning | fields: lon, unit, value, type
Task: Retrieve value from wind_speed with value above the SUM(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007335 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lon, lat, unit, depth
Sensor: pressure | fields: depth, type, unit, lat
Task: Fetch lon from rainfall where type exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007336 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: type, level, lat, ts
Sensor: frost | fields: value, ts, level, depth
Task: Retrieve lat from uv_index that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007337 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: reading, depth, unit, lon
Sensor: uv_index | fields: level, lat, lon, type
Task: Get lat from sunlight where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007338 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: unit, reading, level, lat
Sensor: snow_depth | fields: value, qc, depth, type
Task: Retrieve lon from humidity whose qc is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007339 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: type, reading, ts, lon
Sensor: visibility | fields: level, depth, unit, qc
Task: Get level from lightning where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007340 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: depth, ts, reading, qc
Sensor: wind_speed | fields: lon, level, unit, lat
Task: Get level from frost where ts appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007341 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, lon, ts, unit
Sensor: rainfall | fields: value, ts, type, lat
Task: Retrieve value from uv_index whose depth is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007342 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: value, reading, lat, depth
Sensor: snow_depth | fields: unit, qc, type, reading
Task: Retrieve reading from air_quality with depth above the MIN(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007343 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: qc, type, ts, lat
Sensor: frost | fields: qc, depth, lon, lat
Task: Retrieve lat from visibility whose type is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007344 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: ts, value, level, type
Sensor: frost | fields: reading, ts, level, lon
Task: Get depth from temperature where depth exceeds the average value from frost for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007345 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: depth, reading, qc, lon
Sensor: wind_speed | fields: reading, unit, value, lat
Task: Get level from pressure where type appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007346 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, qc, unit, lat
Sensor: drought_index | fields: level, reading, value, unit
Task: Get lon from dew_point where reading exceeds the total value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007347 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: type, qc, unit, lat
Sensor: lightning | fields: ts, lon, unit, value
Task: Fetch lon from frost where type exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007348 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: value, qc, depth, lat
Sensor: air_quality | fields: value, qc, lat, level
Task: Get reading from drought_index where value exceeds the maximum value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007349 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: lon, reading, unit, ts
Sensor: frost | fields: ts, lon, value, qc
Task: Get level from humidity where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007350 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, value, ts, type
Sensor: wind_speed | fields: lat, level, reading, qc
Task: Fetch depth from snow_depth that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007351 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, lon, depth, level
Sensor: pressure | fields: ts, lon, level, qc
Task: Get level from snow_depth where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007352 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: depth, unit, type, ts
Sensor: uv_index | fields: level, type, lon, ts
Task: Get value from air_quality where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007353 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, depth, qc, level
Sensor: frost | fields: value, lat, ts, reading
Task: Get lon from humidity where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007354 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: level, qc, type, value
Sensor: pressure | fields: ts, qc, reading, type
Task: Get value from evaporation where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007355 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: reading, ts, qc, value
Sensor: lightning | fields: level, lon, depth, lat
Task: Retrieve lon from sunlight that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007356 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: depth, reading, type, value
Sensor: turbidity | fields: lat, qc, reading, ts
Task: Fetch depth from frost that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007357 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, unit, value, depth
Sensor: drought_index | fields: lat, level, value, unit
Task: Fetch lat from lightning where depth is greater than the maximum of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007358 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, lat, depth, value
Sensor: soil_moisture | fields: type, depth, ts, unit
Task: Retrieve value from air_quality with depth above the COUNT(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007359 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: ts, depth, level, qc
Sensor: rainfall | fields: type, unit, level, lat
Task: Retrieve reading from sunlight whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007360 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: ts, type, unit, reading
Sensor: cloud_cover | fields: ts, lat, lon, depth
Task: Get value from temperature where unit appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007361 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lon, reading, unit, depth
Sensor: air_quality | fields: unit, lat, value, qc
Task: Fetch level from rainfall where depth is greater than the total of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007362 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, ts, value, depth
Sensor: frost | fields: lat, level, lon, ts
Task: Fetch value from temperature where reading is greater than the average of value in frost for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007363 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, lon, unit, ts
Sensor: lightning | fields: lat, type, qc, value
Task: Get value from snow_depth where reading exceeds the count of depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007364 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: qc, value, level, type
Sensor: soil_moisture | fields: reading, qc, level, lat
Task: Retrieve reading from pressure that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007365 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: unit, ts, lat, depth
Sensor: pressure | fields: reading, lat, depth, lon
Task: Fetch depth from visibility where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007366 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lon, type, ts, value
Sensor: cloud_cover | fields: unit, ts, value, depth
Task: Fetch lat from temperature that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007367 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: depth, ts, reading, qc
Sensor: wind_speed | fields: value, depth, lon, unit
Task: Fetch level from uv_index where depth is greater than the minimum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007368 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, qc, unit, type
Sensor: pressure | fields: value, ts, depth, unit
Task: Get value from snow_depth where value exceeds the average reading from pressure for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007369 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, value, depth, type
Sensor: snow_depth | fields: value, lon, qc, type
Task: Get value from cloud_cover where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007370 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: level, reading, unit, lat
Sensor: sunlight | fields: value, qc, lon, ts
Task: Fetch reading from visibility where depth is greater than the total of value in sunlight for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007371 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: unit, level, ts, value
Sensor: humidity | fields: ts, lon, reading, lat
Task: Fetch depth from temperature that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007372 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: reading, value, type, level
Sensor: wind_speed | fields: unit, qc, reading, value
Task: Get level from pressure where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007373 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lon, qc, unit, lat
Sensor: sunlight | fields: depth, value, qc, lon
Task: Retrieve value from pressure that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007374 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, value, reading, qc
Sensor: dew_point | fields: lon, unit, reading, lat
Task: Fetch level from sunlight that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007375 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: value, lat, qc, unit
Sensor: visibility | fields: ts, lat, level, unit
Task: Fetch lat from air_quality that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007376 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: type, unit, ts, value
Sensor: air_quality | fields: lat, reading, depth, lon
Task: Retrieve value from dew_point whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007377 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: qc, lat, value, ts
Sensor: uv_index | fields: depth, unit, level, lat
Task: Get lat from air_quality where depth appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007378 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, lon, ts, type
Sensor: air_quality | fields: reading, value, lon, unit
Task: Retrieve lat from soil_moisture whose ts is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007379 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: type, unit, reading, lon
Sensor: temperature | fields: qc, lat, value, unit
Task: Get level from visibility where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007380 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: qc, value, reading, ts
Sensor: dew_point | fields: value, lon, qc, unit
Task: Get value from rainfall where depth exceeds the average depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007381 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: ts, value, depth, lon
Sensor: lightning | fields: type, value, level, depth
Task: Get lat from rainfall where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007382 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: unit, reading, level, lon
Sensor: visibility | fields: level, lat, lon, value
Task: Retrieve depth from dew_point whose ts is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007383 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, reading, lat, type
Sensor: rainfall | fields: depth, value, ts, reading
Task: Retrieve lon from lightning whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007384 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, depth, lon, unit
Sensor: dew_point | fields: reading, depth, unit, ts
Task: Retrieve level from soil_moisture with reading above the MAX(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007385 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, lat, reading, qc
Sensor: uv_index | fields: lat, ts, level, qc
Task: Retrieve level from temperature whose depth is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007386 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: depth, ts, unit, lon
Sensor: lightning | fields: ts, qc, type, reading
Task: Fetch depth from dew_point where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007387 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: depth, ts, value, type
Sensor: visibility | fields: lat, depth, unit, reading
Task: Get level from evaporation where reading exceeds the maximum value from visibility for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007388 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, lon, type, qc
Sensor: humidity | fields: level, reading, type, qc
Task: Retrieve reading from soil_moisture whose qc is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007389 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, reading, level, value
Sensor: evaporation | fields: lon, depth, level, qc
Task: Fetch value from soil_moisture where value is greater than the count of of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007390 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, depth, qc, ts
Sensor: turbidity | fields: lat, level, qc, lon
Task: Retrieve reading from drought_index whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007391 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: level, unit, reading, lat
Sensor: sunlight | fields: type, level, ts, reading
Task: Retrieve value from humidity that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007392 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: level, lon, type, depth
Sensor: drought_index | fields: lon, lat, ts, reading
Task: Get reading from lightning where type appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007393 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: ts, depth, level, lon
Sensor: uv_index | fields: level, depth, unit, value
Task: Fetch lon from frost that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007394 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: reading, level, ts, depth
Sensor: pressure | fields: ts, reading, qc, unit
Task: Fetch lon from evaporation where type exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007395 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: unit, qc, depth, ts
Sensor: soil_moisture | fields: unit, qc, lon, lat
Task: Retrieve lon from humidity with depth above the MIN(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007396 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lon, unit, ts, qc
Sensor: temperature | fields: value, reading, type, level
Task: Fetch lat from visibility where depth exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007397 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, lat, reading, qc
Sensor: air_quality | fields: lat, lon, unit, qc
Task: Retrieve value from lightning with reading above the COUNT(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007398 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, lon, depth, unit
Sensor: frost | fields: unit, reading, qc, lon
Task: Fetch lon from soil_moisture where ts exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.