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: type, reading, level, lon
Sensor: visibility | fields: value, type, lon, level
Task: Retrieve lon from frost that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017300 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: reading, level, lat, value
Sensor: rainfall | fields: reading, value, lon, depth
Task: Get reading from evaporation where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017301 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: value, unit, reading, type
Sensor: turbidity | fields: type, qc, value, reading
Task: Fetch lon from lightning where depth is greater than the minimum of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017302 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: qc, value, depth, lon
Sensor: evaporation | fields: lon, qc, ts, depth
Task: Fetch lat from rainfall where depth is greater than the count of of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017303 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, unit, qc, lon
Sensor: frost | fields: lon, type, value, qc
Task: Fetch level from turbidity where qc exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017304 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: value, level, reading, type
Sensor: drought_index | fields: qc, level, reading, lon
Task: Fetch value from air_quality that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017305 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: ts, value, lat, reading
Sensor: frost | fields: type, level, ts, value
Task: Retrieve value from uv_index with depth above the COUNT(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017306 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: depth, lon, unit, reading
Sensor: lightning | fields: type, qc, reading, ts
Task: Retrieve depth from air_quality with reading above the AVG(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017307 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: depth, qc, type, unit
Sensor: pressure | fields: ts, qc, type, level
Task: Retrieve level from evaporation whose unit is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017308 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: ts, reading, qc, unit
Sensor: air_quality | fields: unit, reading, level, value
Task: Retrieve lon from rainfall whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017309 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: reading, lon, depth, qc
Sensor: frost | fields: lat, level, depth, ts
Task: Retrieve level from sunlight that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017310 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, reading, ts, value
Sensor: dew_point | fields: value, lat, ts, lon
Task: Retrieve level from cloud_cover with reading above the AVG(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017311 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: value, ts, type, reading
Sensor: rainfall | fields: ts, value, lat, type
Task: Get depth from pressure where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017312 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, lat, depth, unit
Sensor: air_quality | fields: type, lon, depth, ts
Task: Retrieve depth from turbidity with value above the AVG(value) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017313 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: level, lon, lat, depth
Sensor: uv_index | fields: lat, qc, unit, ts
Task: Retrieve reading from snow_depth that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017314 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, depth, qc, value
Sensor: evaporation | fields: reading, type, lon, unit
Task: Retrieve depth from rainfall with reading above the SUM(depth) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017315 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, lat, ts, lon
Sensor: temperature | fields: ts, unit, type, lon
Task: Get reading from cloud_cover where depth appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017316 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, value, ts, depth
Sensor: cloud_cover | fields: lat, qc, value, type
Task: Get level from pressure where value exceeds the minimum value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017317 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: qc, level, value, depth
Sensor: evaporation | fields: ts, unit, level, type
Task: Retrieve lon from dew_point that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017318 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, type, ts, lon
Sensor: cloud_cover | fields: level, reading, type, unit
Task: Retrieve depth from snow_depth whose ts is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017319 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lon, unit, level, lat
Sensor: evaporation | fields: level, lon, lat, type
Task: Get value from uv_index where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017320 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, level, lat, depth
Sensor: humidity | fields: depth, level, reading, lon
Task: Fetch reading from snow_depth where qc exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017321 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: ts, level, depth, reading
Sensor: soil_moisture | fields: type, unit, level, depth
Task: Retrieve value from air_quality that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017322 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, type, reading, lat
Sensor: wind_speed | fields: level, depth, type, value
Task: Retrieve depth from cloud_cover that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017323 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, level, lat, depth
Sensor: temperature | fields: reading, type, unit, lon
Task: Get depth from cloud_cover where unit appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017324 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: lon, level, unit, ts
Sensor: rainfall | fields: lon, value, lat, reading
Task: Get value from sunlight where reading exceeds the total value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017325 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: unit, lon, depth, lat
Sensor: temperature | fields: lon, depth, unit, value
Task: Get lat from humidity where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017326 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: ts, level, lon, value
Sensor: temperature | fields: lon, lat, reading, unit
Task: Retrieve depth from humidity that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017327 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: qc, unit, lon, value
Sensor: snow_depth | fields: lat, value, type, ts
Task: Get reading from lightning where depth exceeds the total value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017328 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: type, ts, qc, value
Sensor: drought_index | fields: level, unit, lat, value
Task: Get depth from dew_point where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017329 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: reading, ts, level, unit
Sensor: wind_speed | fields: lat, value, level, qc
Task: Fetch depth from uv_index where value is greater than the total of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017330 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, lat, depth, qc
Sensor: humidity | fields: lon, level, qc, value
Task: Get level from soil_moisture where depth exceeds the average value from humidity for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"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_017331 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, lon, reading, depth
Sensor: visibility | fields: lat, unit, value, level
Task: Retrieve lon from rainfall with value above the SUM(reading) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017332 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: value, level, lat, unit
Sensor: air_quality | fields: level, type, unit, reading
Task: Fetch reading from evaporation that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017333 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, ts, type, lon
Sensor: wind_speed | fields: qc, reading, ts, value
Task: Get value from snow_depth where reading exceeds the average value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017334 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, lat, depth, value
Sensor: frost | fields: level, unit, type, depth
Task: Fetch lat from snow_depth where ts exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017335 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: depth, lat, value, qc
Sensor: wind_speed | fields: qc, ts, reading, lon
Task: Retrieve lon from uv_index that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017336 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: unit, depth, level, ts
Sensor: snow_depth | fields: ts, level, qc, type
Task: Get depth from pressure where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017337 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: type, reading, lon, depth
Sensor: evaporation | fields: reading, lon, level, depth
Task: Retrieve reading from uv_index that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017338 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, qc, lat, depth
Sensor: dew_point | fields: ts, lat, type, reading
Task: Fetch lon from wind_speed where depth is greater than the maximum of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017339 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: value, lon, level, lat
Sensor: turbidity | fields: depth, unit, qc, lat
Task: Fetch value from visibility where depth exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017340 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, reading, lon, ts
Sensor: dew_point | fields: unit, value, qc, depth
Task: Get level from air_quality where value exceeds the total depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017341 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: ts, level, value, lat
Sensor: temperature | fields: lon, ts, value, unit
Task: Get lon from lightning where depth appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017342 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: reading, ts, depth, lon
Sensor: lightning | fields: depth, lon, value, qc
Task: Retrieve value from frost that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017343 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: value, ts, reading, depth
Sensor: humidity | fields: lon, reading, type, unit
Task: Retrieve value from uv_index with reading above the SUM(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017344 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: reading, ts, depth, type
Sensor: air_quality | fields: unit, level, reading, lat
Task: Retrieve depth from rainfall with reading above the MAX(depth) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017345 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: level, depth, lat, value
Sensor: dew_point | fields: ts, lon, value, depth
Task: Retrieve reading from lightning whose qc is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017346 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: type, reading, value, depth
Sensor: wind_speed | fields: lon, depth, type, reading
Task: Fetch reading from frost where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017347 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: ts, lat, level, value
Sensor: uv_index | fields: depth, qc, unit, reading
Task: Retrieve reading from humidity that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017348 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: ts, value, qc, reading
Sensor: evaporation | fields: ts, lon, lat, value
Task: Fetch value from rainfall where reading is greater than the maximum of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017349 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, qc, unit, depth
Sensor: lightning | fields: value, level, depth, ts
Task: Get value from rainfall where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017350 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: unit, type, level, value
Sensor: turbidity | fields: lat, depth, value, lon
Task: Retrieve level from rainfall that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017351 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, lon, type, unit
Sensor: air_quality | fields: lon, lat, ts, type
Task: Get value from wind_speed where qc appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"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_017352 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: level, lon, depth, value
Sensor: wind_speed | fields: lon, ts, value, depth
Task: Retrieve lat from air_quality with reading above the SUM(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017353 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: unit, lat, ts, depth
Sensor: sunlight | fields: reading, depth, value, type
Task: Get depth from dew_point where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017354 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, level, value, depth
Sensor: frost | fields: type, reading, depth, ts
Task: Retrieve depth from soil_moisture that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017355 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: reading, ts, value, unit
Sensor: air_quality | fields: qc, unit, ts, value
Task: Retrieve value from pressure whose type is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017356 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: depth, value, type, ts
Sensor: soil_moisture | fields: lat, depth, lon, ts
Task: Retrieve lon from air_quality that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"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_017357 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, type, level, ts
Sensor: pressure | fields: qc, lon, value, ts
Task: Fetch depth from snow_depth where qc exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017358 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, lat, lon, value
Sensor: drought_index | fields: reading, qc, lon, ts
Task: Get lon from cloud_cover where ts appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017359 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: reading, type, lat, ts
Sensor: snow_depth | fields: depth, value, reading, unit
Task: Retrieve value from sunlight that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017360 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, value, unit, depth
Sensor: sunlight | fields: lat, depth, reading, ts
Task: Get level from rainfall where depth exceeds the average value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017361 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, lon, ts, reading
Sensor: humidity | fields: value, lat, qc, depth
Task: Get value from cloud_cover where depth appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017362 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: unit, qc, reading, level
Sensor: frost | fields: ts, qc, level, type
Task: Get reading from pressure where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017363 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: type, unit, qc, value
Sensor: cloud_cover | fields: level, unit, ts, depth
Task: Retrieve lat from humidity whose type is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017364 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, value, lon, lat
Sensor: dew_point | fields: qc, type, level, lon
Task: Get level from cloud_cover where reading exceeds the count of value from dew_point for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017365 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, reading, lat, type
Sensor: frost | fields: value, qc, type, lat
Task: Retrieve reading from uv_index whose qc is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017366 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, depth, qc, ts
Sensor: snow_depth | fields: lat, lon, value, level
Task: Fetch lat from cloud_cover that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017367 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: type, ts, lat, level
Sensor: snow_depth | fields: value, ts, depth, lat
Task: Get value from temperature where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017368 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, qc, reading, type
Sensor: sunlight | fields: lat, ts, unit, reading
Task: Retrieve reading from dew_point with depth above the SUM(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017369 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, unit, depth, type
Sensor: uv_index | fields: reading, lon, depth, unit
Task: Fetch reading from cloud_cover where ts exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017370 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lon, reading, value, lat
Sensor: rainfall | fields: depth, value, lon, ts
Task: Fetch depth from dew_point where value is greater than the minimum of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017371 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: lat, ts, type, level
Sensor: visibility | fields: unit, reading, depth, level
Task: Get depth from frost where depth appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017372 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, lat, lon, value
Sensor: uv_index | fields: type, lat, reading, level
Task: Retrieve lat from soil_moisture with depth above the MIN(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"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_017373 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: value, depth, reading, qc
Sensor: snow_depth | fields: type, unit, lat, qc
Task: Retrieve depth from pressure that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017374 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lon, value, lat, depth
Sensor: temperature | fields: level, lat, unit, ts
Task: Get value from humidity where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017375 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: level, unit, depth, lon
Sensor: turbidity | fields: level, type, lon, value
Task: Fetch level from temperature where depth exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017376 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, qc, ts, depth
Sensor: drought_index | fields: value, unit, reading, qc
Task: Retrieve level from wind_speed with value above the MAX(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017377 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, level, reading, qc
Sensor: dew_point | fields: reading, unit, qc, type
Task: Retrieve level from frost with reading above the AVG(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017378 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: qc, level, lon, unit
Sensor: pressure | fields: qc, ts, unit, level
Task: Fetch level from humidity where value is greater than the minimum of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017379 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: type, unit, qc, depth
Sensor: air_quality | fields: value, qc, depth, lon
Task: Fetch depth from dew_point where type exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017380 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, qc, depth, type
Sensor: dew_point | fields: value, type, ts, lat
Task: Get value from evaporation where value exceeds the count of reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017381 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, qc, reading, value
Sensor: evaporation | fields: qc, value, type, level
Task: Get level from cloud_cover where depth exceeds the maximum reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017382 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: reading, depth, type, lon
Sensor: drought_index | fields: unit, type, depth, qc
Task: Retrieve level from air_quality whose unit is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017383 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: level, qc, ts, depth
Sensor: lightning | fields: level, type, unit, value
Task: Retrieve reading from air_quality whose depth is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017384 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: value, ts, lon, reading
Sensor: uv_index | fields: level, lat, ts, unit
Task: Get reading from wind_speed where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017385 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: value, ts, unit, lat
Sensor: cloud_cover | fields: lon, lat, depth, reading
Task: Fetch lat from visibility that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017386 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, lat, type, level
Sensor: frost | fields: lat, unit, qc, value
Task: Get level from cloud_cover where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017387 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: value, level, lon, ts
Sensor: wind_speed | fields: depth, type, value, lat
Task: Fetch level from frost where depth is greater than the maximum of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017388 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: unit, lat, level, reading
Sensor: snow_depth | fields: value, lon, level, qc
Task: Get lon from visibility where value exceeds the average reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017389 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lat, unit, type, level
Sensor: turbidity | fields: lat, level, reading, depth
Task: Fetch depth from visibility where unit exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017390 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, lon, unit, lat
Sensor: frost | fields: unit, reading, depth, qc
Task: Get value from wind_speed where qc appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017391 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: value, depth, lat, lon
Sensor: air_quality | fields: ts, lon, qc, unit
Task: Get depth from pressure where reading exceeds the average value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017392 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, value, qc, level
Sensor: soil_moisture | fields: value, qc, type, depth
Task: Get value from air_quality where reading exceeds the maximum reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017393 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lat, unit, reading, ts
Sensor: snow_depth | fields: ts, depth, level, value
Task: Get lat from sunlight where value exceeds the maximum reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017394 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, value, reading, depth
Sensor: wind_speed | fields: lon, ts, lat, level
Task: Fetch lon from soil_moisture where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017395 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: qc, unit, level, lat
Sensor: snow_depth | fields: depth, lon, level, reading
Task: Fetch value from turbidity that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017396 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: reading, ts, unit, value
Sensor: evaporation | fields: qc, lat, reading, ts
Task: Fetch lat from pressure where unit exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017397 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, depth, qc, level
Sensor: turbidity | fields: value, unit, ts, depth
Task: Get lat from frost where ts appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_017398 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: qc, level, unit, type
Sensor: visibility | fields: qc, level, unit, value
Task: Get value from lightning where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_017399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.