variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: dew_point | code: prt | fields: qc, reading, ts, lat
Sensor: evaporation | fields: ts, value, lon, unit
Task: Retrieve level from dew_point that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067500 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: level, lon, type, reading
Sensor: snow_depth | fields: value, level, qc, lon
Task: Get value from wind_speed where qc appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067501 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: level, qc, ts, reading
Sensor: rainfall | fields: level, type, value, depth
Task: Get lon from lightning where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067502 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, depth, value, type
Sensor: turbidity | fields: level, value, type, reading
Task: Get level from humidity where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067503 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: depth, level, type, ts
Sensor: rainfall | fields: reading, level, lat, unit
Task: Get depth from lightning where unit appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067504 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: depth, unit, qc, value
Sensor: frost | fields: reading, level, ts, value
Task: Fetch reading from lightning where unit exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067505 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: value, ts, level, lon
Sensor: pressure | fields: type, level, depth, reading
Task: Get lon from sunlight where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067506 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: unit, level, ts, reading
Sensor: evaporation | fields: unit, reading, lat, depth
Task: Fetch level from rainfall where depth exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067507 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, lat, unit, qc
Sensor: humidity | fields: unit, qc, ts, value
Task: Fetch lon from snow_depth where depth is greater than the total of depth in humidity for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067508 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: depth, lat, reading, type
Sensor: visibility | fields: type, ts, unit, level
Task: Fetch reading from sunlight where unit exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067509 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, type, value, level
Sensor: temperature | fields: reading, lat, unit, depth
Task: Retrieve lat from soil_moisture with value above the MAX(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067510 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: level, value, unit, reading
Sensor: visibility | fields: reading, depth, type, lon
Task: Get depth from temperature where value exceeds the count of depth from visibility for the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067511 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: qc, type, value, level
Sensor: drought_index | fields: lat, reading, ts, depth
Task: Get depth from evaporation where ts appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067512 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: level, type, unit, lat
Sensor: frost | fields: unit, level, lat, depth
Task: Get value from humidity where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067513 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, reading, level, unit
Sensor: wind_speed | fields: lat, type, ts, reading
Task: Fetch level from frost where value is greater than the count of of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067514 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, qc, depth, lat
Sensor: frost | fields: qc, level, value, unit
Task: Retrieve lon from visibility with reading above the SUM(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067515 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: level, type, value, qc
Sensor: pressure | fields: qc, depth, level, unit
Task: Fetch reading from evaporation where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067516 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: ts, unit, lat, value
Sensor: visibility | fields: level, ts, lon, value
Task: Retrieve level from pressure with depth above the MAX(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067517 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: value, reading, level, unit
Sensor: humidity | fields: qc, level, lon, ts
Task: Get lat from air_quality where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067518 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: reading, lon, type, unit
Sensor: humidity | fields: depth, unit, type, reading
Task: Retrieve reading from evaporation with depth above the SUM(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067519 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: type, unit, level, lat
Sensor: humidity | fields: value, lat, unit, reading
Task: Get depth from snow_depth where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067520 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: ts, depth, reading, value
Sensor: humidity | fields: unit, depth, qc, type
Task: Fetch depth from dew_point where unit exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067521 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, value, lon, level
Sensor: wind_speed | fields: reading, value, type, qc
Task: Retrieve lon from soil_moisture whose unit is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067522 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: level, reading, type, value
Sensor: soil_moisture | fields: unit, depth, level, ts
Task: Retrieve depth from lightning that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067523 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: type, value, level, reading
Sensor: rainfall | fields: type, qc, unit, lon
Task: Get reading from evaporation where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067524 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: ts, reading, unit, lon
Sensor: lightning | fields: level, type, value, depth
Task: Fetch level from dew_point where type exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067525 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: value, ts, depth, lat
Sensor: drought_index | fields: type, lon, level, lat
Task: Get depth from air_quality where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067526 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: depth, unit, reading, lat
Sensor: sunlight | fields: depth, unit, level, reading
Task: Retrieve depth from pressure with value above the SUM(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067527 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, lon, depth, unit
Sensor: turbidity | fields: ts, lat, reading, depth
Task: Retrieve depth from temperature with depth above the AVG(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067528 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, ts, type, depth
Sensor: air_quality | fields: level, lon, qc, lat
Task: Retrieve depth from pressure with value above the MAX(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067529 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: type, qc, depth, ts
Sensor: lightning | fields: depth, type, level, reading
Task: Get level from temperature where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067530 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, lat, value, qc
Sensor: rainfall | fields: lat, lon, type, ts
Task: Fetch lat from uv_index that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067531 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: level, qc, type, depth
Sensor: frost | fields: unit, type, level, lat
Task: Retrieve value from uv_index with reading above the SUM(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067532 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lon, level, value, qc
Sensor: cloud_cover | fields: value, reading, lon, depth
Task: Fetch level from air_quality where depth is greater than the total of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067533 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lon, ts, qc, type
Sensor: cloud_cover | fields: type, level, value, lat
Task: Retrieve lat from evaporation with value above the MIN(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067534 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: unit, depth, ts, lon
Sensor: drought_index | fields: type, lon, ts, qc
Task: Retrieve depth from frost that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067535 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, level, lon, unit
Sensor: drought_index | fields: qc, value, level, depth
Task: Fetch lat from snow_depth where reading is greater than the total of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067536 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: type, depth, lat, reading
Sensor: uv_index | fields: qc, unit, lon, reading
Task: Get depth from rainfall where depth exceeds the total reading from uv_index for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067537 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: type, ts, value, lat
Sensor: soil_moisture | fields: lat, value, depth, level
Task: Fetch value from sunlight that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067538 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, depth, reading, unit
Sensor: uv_index | fields: type, depth, lon, ts
Task: Fetch lon from rainfall where type exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067539 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: type, depth, qc, level
Sensor: lightning | fields: ts, reading, type, lat
Task: Get lon from rainfall where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067540 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: unit, type, lon, depth
Sensor: air_quality | fields: lon, ts, unit, depth
Task: Get value from uv_index where depth exceeds the maximum value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067541 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, depth, ts, lat
Sensor: cloud_cover | fields: depth, lon, unit, lat
Task: Retrieve value from snow_depth whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"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_067542 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: reading, value, ts, qc
Sensor: dew_point | fields: level, unit, reading, value
Task: Fetch depth from sunlight that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067543 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: reading, qc, level, lon
Sensor: soil_moisture | fields: lon, ts, level, qc
Task: Get value from dew_point where depth appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067544 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: level, lat, value, depth
Sensor: lightning | fields: lat, lon, reading, unit
Task: Retrieve value from evaporation with depth above the MAX(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067545 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: depth, unit, type, ts
Sensor: temperature | fields: unit, reading, depth, level
Task: Retrieve lon from sunlight whose ts is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067546 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, type, ts, reading
Sensor: rainfall | fields: lon, qc, unit, type
Task: Fetch lon from soil_moisture where depth is greater than the maximum of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"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_067547 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: depth, value, reading, level
Sensor: sunlight | fields: lat, ts, qc, type
Task: Fetch lon from air_quality where reading is greater than the maximum of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067548 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: qc, depth, type, ts
Sensor: drought_index | fields: level, unit, value, depth
Task: Get level from pressure where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067549 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: qc, depth, type, reading
Sensor: wind_speed | fields: reading, unit, ts, lat
Task: Get value from dew_point where depth appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067550 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: unit, level, ts, lat
Sensor: soil_moisture | fields: qc, value, depth, lat
Task: Get lat from drought_index where reading exceeds the count of reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067551 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: type, ts, value, lon
Sensor: sunlight | fields: reading, ts, depth, qc
Task: Retrieve reading from humidity whose depth is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067552 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lat, lon, unit, ts
Sensor: air_quality | fields: lon, value, lat, qc
Task: Retrieve depth from frost that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067553 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: depth, ts, lon, lat
Sensor: visibility | fields: lon, qc, type, ts
Task: Fetch reading from turbidity where qc exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067554 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: value, qc, unit, level
Sensor: soil_moisture | fields: unit, depth, ts, level
Task: Get lat from dew_point where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067555 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: ts, depth, value, lon
Sensor: cloud_cover | fields: qc, value, type, lon
Task: Retrieve lon from lightning that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067556 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: type, unit, lat, ts
Sensor: air_quality | fields: value, lat, level, unit
Task: Fetch depth from snow_depth that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067557 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: type, reading, depth, lat
Sensor: drought_index | fields: qc, depth, lat, lon
Task: Fetch lat from sunlight where ts exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067558 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, unit, level, depth
Sensor: frost | fields: lon, unit, ts, qc
Task: Retrieve lon from drought_index that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067559 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: depth, unit, type, lat
Sensor: sunlight | fields: lon, unit, level, reading
Task: Get reading from rainfall where reading exceeds the minimum reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067560 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, value, qc, depth
Sensor: uv_index | fields: unit, lon, value, level
Task: Get lon from lightning where reading exceeds the total value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067561 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, unit, lat, value
Sensor: turbidity | fields: value, reading, lat, type
Task: Retrieve value from visibility that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067562 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: value, depth, level, reading
Sensor: temperature | fields: ts, reading, lat, level
Task: Fetch level from pressure where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067563 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: ts, lat, value, depth
Sensor: sunlight | fields: depth, lon, lat, type
Task: Get reading from humidity where ts appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067564 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, value, qc, type
Sensor: turbidity | fields: unit, level, ts, lat
Task: Get reading from temperature where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067565 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, value, lat, reading
Sensor: air_quality | fields: depth, level, type, lon
Task: Retrieve depth from lightning with depth above the MAX(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067566 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: depth, lon, unit, reading
Sensor: evaporation | fields: type, unit, lon, lat
Task: Get depth from pressure where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067567 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: depth, unit, reading, type
Sensor: soil_moisture | fields: ts, unit, level, lon
Task: Fetch level from visibility where depth exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067568 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: type, level, value, lat
Sensor: soil_moisture | fields: lat, unit, level, type
Task: Get lon from humidity where type appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067569 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lon, type, qc, level
Sensor: soil_moisture | fields: qc, type, reading, lon
Task: Get depth from humidity where depth appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067570 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: unit, lon, level, ts
Sensor: visibility | fields: level, type, qc, lon
Task: Get lon from evaporation where value exceeds the maximum value from visibility for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067571 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: ts, qc, level, type
Sensor: frost | fields: reading, value, qc, type
Task: Retrieve value from sunlight that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067572 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lon, depth, level, reading
Sensor: lightning | fields: type, depth, value, lon
Task: Fetch lon from pressure where ts exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067573 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: depth, type, lon, value
Sensor: air_quality | fields: ts, type, lon, value
Task: Get lon from pressure where unit appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067574 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lon, reading, value, ts
Sensor: dew_point | fields: reading, lon, ts, type
Task: Retrieve value from frost that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067575 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, level, lat, lon
Sensor: snow_depth | fields: lat, type, qc, reading
Task: Retrieve level from cloud_cover whose ts is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067576 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: qc, level, lat, lon
Sensor: humidity | fields: lon, ts, level, type
Task: Get depth from air_quality where reading exceeds the count of value from humidity for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067577 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, lat, depth, type
Sensor: wind_speed | fields: unit, lon, level, value
Task: Fetch depth from temperature where qc exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067578 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: level, depth, reading, lon
Sensor: dew_point | fields: lat, unit, qc, value
Task: Fetch depth from snow_depth that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067579 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: value, depth, reading, unit
Sensor: soil_moisture | fields: level, type, depth, unit
Task: Fetch lon from drought_index that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067580 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: ts, reading, unit, level
Sensor: visibility | fields: lat, reading, value, lon
Task: Fetch depth from uv_index where reading is greater than the minimum of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067581 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: depth, unit, type, qc
Sensor: air_quality | fields: lat, depth, qc, type
Task: Retrieve level from turbidity with depth above the COUNT(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067582 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: unit, type, lat, depth
Sensor: air_quality | fields: lon, qc, reading, type
Task: Fetch reading from turbidity where unit exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067583 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: reading, qc, level, lon
Sensor: turbidity | fields: unit, lon, value, ts
Task: Retrieve lat from evaporation with value above the SUM(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067584 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, level, unit, lon
Sensor: frost | fields: qc, lon, depth, unit
Task: Get level from humidity where qc appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067585 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: depth, lat, level, lon
Sensor: turbidity | fields: type, depth, value, lat
Task: Fetch lat from pressure where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067586 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, unit, lon, depth
Sensor: snow_depth | fields: level, type, reading, ts
Task: Get level from wind_speed where depth exceeds the count of reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067587 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lon, reading, lat, level
Sensor: cloud_cover | fields: reading, ts, type, lat
Task: Fetch value from temperature that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067588 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: ts, lon, lat, qc
Sensor: soil_moisture | fields: type, qc, level, value
Task: Retrieve lon from uv_index with value above the MAX(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067589 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: unit, lon, depth, lat
Sensor: snow_depth | fields: reading, level, type, depth
Task: Fetch lon from temperature where type exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067590 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: depth, unit, lon, reading
Sensor: uv_index | fields: value, depth, qc, lat
Task: Fetch lon from dew_point that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067591 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, value, reading, level
Sensor: cloud_cover | fields: value, ts, level, qc
Task: Get lat from soil_moisture where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067592 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: depth, lat, lon, type
Sensor: drought_index | fields: lat, type, ts, lon
Task: Retrieve depth from turbidity that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067593 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: reading, type, lat, lon
Sensor: cloud_cover | fields: qc, value, level, depth
Task: Retrieve depth from dew_point whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067594 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: depth, lon, qc, unit
Sensor: soil_moisture | fields: qc, ts, type, lon
Task: Retrieve level from rainfall with depth above the SUM(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067595 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, reading, ts, depth
Sensor: humidity | fields: unit, ts, depth, qc
Task: Retrieve depth from snow_depth that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067596 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: level, type, qc, lat
Sensor: snow_depth | fields: type, lon, reading, level
Task: Fetch lat from sunlight where qc exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067597 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, level, reading, lat
Sensor: turbidity | fields: lon, reading, value, unit
Task: Get reading from lightning where value exceeds the maximum reading from turbidity for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067598 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: depth, reading, level, lat
Sensor: air_quality | fields: depth, level, type, value
Task: Get depth from evaporation where value exceeds the minimum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.