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: air_quality | code: ref | fields: ts, lon, level, reading
Sensor: snow_depth | fields: lon, value, unit, type
Task: Retrieve depth from air_quality that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008800 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: reading, lat, value, depth
Sensor: evaporation | fields: unit, lon, level, value
Task: Fetch reading from uv_index where value is greater than the average of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008801 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: qc, level, lat, depth
Sensor: uv_index | fields: value, level, lat, lon
Task: Get depth from temperature where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008802 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: unit, type, depth, reading
Sensor: frost | fields: unit, type, ts, qc
Task: Get depth from air_quality where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008803 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: ts, qc, lon, lat
Sensor: temperature | fields: level, reading, unit, lat
Task: Get value from turbidity where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008804 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lon, depth, level, value
Sensor: humidity | fields: ts, lon, unit, level
Task: Fetch value from dew_point where depth is greater than the count of of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008805 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: reading, lat, unit, value
Sensor: pressure | fields: lat, ts, value, depth
Task: Retrieve value from uv_index whose type is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008806 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: unit, lon, reading, ts
Sensor: drought_index | fields: unit, level, reading, type
Task: Fetch depth from visibility where reading is greater than the total of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008807 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: qc, type, depth, unit
Sensor: drought_index | fields: lon, value, depth, type
Task: Retrieve depth from rainfall with reading above the MAX(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008808 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: unit, lon, qc, value
Sensor: cloud_cover | fields: lat, lon, reading, unit
Task: Retrieve reading from temperature that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008809 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, type, lat, reading
Sensor: soil_moisture | fields: reading, ts, unit, lon
Task: Get level from wind_speed where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008810 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: level, type, depth, value
Sensor: temperature | fields: unit, type, reading, level
Task: Retrieve level from lightning whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008811 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lon, value, unit, qc
Sensor: pressure | fields: value, type, level, qc
Task: Retrieve level from uv_index that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008812 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, reading, ts, lon
Sensor: rainfall | fields: lon, level, reading, lat
Task: Retrieve lon from cloud_cover that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008813 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: type, unit, lon, level
Sensor: pressure | fields: unit, depth, lat, qc
Task: Get reading from uv_index where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008814 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lon, ts, qc, lat
Sensor: frost | fields: level, reading, type, lon
Task: Get lat from uv_index where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008815 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, lon, unit, value
Sensor: humidity | fields: value, lon, depth, qc
Task: Retrieve depth from turbidity with reading above the MIN(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008816 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: reading, type, level, lat
Sensor: frost | fields: lat, ts, type, qc
Task: Get lat from turbidity where depth appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008817 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, depth, qc, ts
Sensor: visibility | fields: depth, qc, level, type
Task: Get level from lightning where reading exceeds the average depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008818 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, level, qc, type
Sensor: rainfall | fields: lat, depth, type, level
Task: Fetch depth from soil_moisture that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008819 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: value, type, unit, depth
Sensor: evaporation | fields: lon, unit, depth, lat
Task: Fetch depth from wind_speed that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008820 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: type, level, value, reading
Sensor: pressure | fields: unit, type, ts, lat
Task: Fetch level from rainfall where reading is greater than the average of reading in pressure for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008821 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: level, depth, type, unit
Sensor: humidity | fields: type, ts, level, unit
Task: Retrieve lon from uv_index that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008822 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: type, depth, value, level
Sensor: sunlight | fields: lat, reading, unit, value
Task: Get level from pressure where reading exceeds the average reading from sunlight for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008823 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, unit, value, lon
Sensor: air_quality | fields: unit, lat, lon, level
Task: Retrieve depth from soil_moisture with depth above the AVG(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008824 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: depth, qc, type, lon
Sensor: sunlight | fields: reading, depth, lat, type
Task: Fetch reading from lightning where reading is greater than the minimum of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008825 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, depth, unit, qc
Sensor: uv_index | fields: depth, unit, lat, value
Task: Fetch depth from cloud_cover where value is greater than the total of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008826 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lon, lat, depth, unit
Sensor: lightning | fields: qc, level, value, lon
Task: Get level from evaporation where depth exceeds the minimum value from lightning for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008827 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: depth, qc, type, unit
Sensor: rainfall | fields: unit, lon, ts, level
Task: Retrieve reading from evaporation that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008828 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, lat, value, lon
Sensor: evaporation | fields: lon, reading, lat, value
Task: Get value from drought_index where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008829 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, qc, reading, value
Sensor: evaporation | fields: value, depth, lat, qc
Task: Fetch level from frost where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008830 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lon, lat, qc, reading
Sensor: uv_index | fields: lon, value, qc, ts
Task: Fetch lon from visibility where depth exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008831 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: depth, level, value, unit
Sensor: humidity | fields: level, unit, reading, depth
Task: Retrieve depth from turbidity with depth above the MIN(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008832 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: reading, depth, level, unit
Sensor: air_quality | fields: type, unit, ts, level
Task: Fetch level from pressure where depth is greater than the minimum of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008833 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: level, value, lat, unit
Sensor: air_quality | fields: qc, level, ts, type
Task: Get depth from snow_depth where ts appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008834 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, value, type, lat
Sensor: snow_depth | fields: depth, level, lon, ts
Task: Fetch level from cloud_cover that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008835 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, qc, value, lon
Sensor: humidity | fields: reading, unit, value, type
Task: Retrieve value from turbidity whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008836 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: qc, ts, unit, lat
Sensor: uv_index | fields: lon, type, level, depth
Task: Get depth from drought_index where depth appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008837 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: ts, value, lon, type
Sensor: uv_index | fields: qc, lat, lon, value
Task: Get reading from evaporation where qc appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008838 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: reading, lat, type, qc
Sensor: pressure | fields: depth, value, level, type
Task: Get lon from frost where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008839 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, lat, unit, depth
Sensor: drought_index | fields: lat, unit, lon, depth
Task: Retrieve lon from dew_point that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008840 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: depth, unit, lon, value
Sensor: frost | fields: level, type, depth, ts
Task: Get lon from temperature where depth exceeds the count of reading from frost for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008841 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: reading, type, lon, level
Sensor: temperature | fields: depth, level, ts, value
Task: Get lon from evaporation where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008842 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, level, ts, type
Sensor: visibility | fields: level, ts, depth, lon
Task: Retrieve lon from soil_moisture that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008843 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, lat, reading, qc
Sensor: drought_index | fields: unit, level, reading, type
Task: Get level from soil_moisture where value exceeds the average depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008844 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: qc, depth, value, lon
Sensor: frost | fields: level, depth, type, unit
Task: Get reading from turbidity where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008845 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: qc, value, lon, level
Sensor: soil_moisture | fields: value, reading, lon, type
Task: Get lon from drought_index where depth appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008846 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: type, ts, value, lat
Sensor: snow_depth | fields: level, type, qc, depth
Task: Fetch value from drought_index that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008847 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, depth, level, lat
Sensor: wind_speed | fields: lat, lon, qc, ts
Task: Get value from pressure where depth exceeds the maximum reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008848 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, value, unit, reading
Sensor: evaporation | fields: ts, level, lon, lat
Task: Retrieve lat from temperature whose depth is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008849 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: value, reading, depth, lat
Sensor: lightning | fields: ts, lon, level, value
Task: Retrieve lat from air_quality with depth above the MIN(depth) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008850 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: depth, reading, value, qc
Sensor: soil_moisture | fields: lat, type, level, ts
Task: Get value from air_quality where depth appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008851 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: level, lat, ts, value
Sensor: soil_moisture | fields: qc, depth, type, level
Task: Retrieve depth from air_quality that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008852 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, lat, type, level
Sensor: wind_speed | fields: value, type, lat, level
Task: Fetch lon from visibility where value is greater than the maximum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008853 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lon, qc, lat, unit
Sensor: cloud_cover | fields: unit, lat, lon, qc
Task: Retrieve lat from lightning whose type is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008854 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lat, depth, value, level
Sensor: turbidity | fields: type, lon, qc, depth
Task: Fetch reading from sunlight where ts exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008855 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: type, lon, value, depth
Sensor: rainfall | fields: type, lat, unit, lon
Task: Fetch reading from humidity where depth exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008856 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, unit, lat, lon
Sensor: pressure | fields: unit, reading, depth, ts
Task: Get lon from soil_moisture where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008857 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, qc, type, lon
Sensor: pressure | fields: reading, lat, ts, depth
Task: Get level from snow_depth where depth exceeds the count of reading from pressure for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008858 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lat, ts, reading, value
Sensor: soil_moisture | fields: lon, qc, depth, ts
Task: Fetch depth from evaporation where depth exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008859 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: type, level, lat, reading
Sensor: humidity | fields: value, depth, type, level
Task: Fetch depth from frost where type exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008860 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, lat, ts, reading
Sensor: sunlight | fields: reading, lon, value, type
Task: Get level from dew_point where value exceeds the count of reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008861 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: lon, type, reading, value
Sensor: pressure | fields: ts, reading, type, depth
Task: Get reading from uv_index where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008862 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lat, unit, ts, type
Sensor: wind_speed | fields: unit, value, depth, type
Task: Get lat from temperature where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008863 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, level, ts, lon
Sensor: frost | fields: depth, value, level, type
Task: Fetch value from cloud_cover where reading is greater than the count of of reading in frost for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008864 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, ts, value, type
Sensor: humidity | fields: depth, ts, value, reading
Task: Get level from uv_index where depth exceeds the count of value from humidity for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008865 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: qc, lon, value, unit
Sensor: temperature | fields: lat, level, type, qc
Task: Fetch value from evaporation that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008866 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lat, type, level, lon
Sensor: air_quality | fields: level, ts, reading, qc
Task: Fetch value from turbidity where unit exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008867 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: qc, lat, reading, depth
Sensor: uv_index | fields: reading, type, qc, lon
Task: Get depth from lightning where value exceeds the count of value from uv_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008868 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, type, ts, depth
Sensor: temperature | fields: value, unit, qc, lon
Task: Get reading from humidity where depth appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008869 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: depth, type, ts, lat
Sensor: pressure | fields: unit, lon, reading, type
Task: Fetch lat from uv_index where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008870 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, value, ts, level
Sensor: uv_index | fields: lon, ts, qc, lat
Task: Fetch lat from air_quality where qc exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008871 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, value, type, lat
Sensor: air_quality | fields: ts, reading, value, unit
Task: Fetch lon from wind_speed that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008872 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: depth, level, value, reading
Sensor: turbidity | fields: level, lat, ts, qc
Task: Retrieve value from visibility with value above the MIN(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008873 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: reading, level, lat, value
Sensor: lightning | fields: qc, lat, reading, ts
Task: Fetch lon from rainfall that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008874 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, qc, type, reading
Sensor: lightning | fields: lat, reading, value, ts
Task: Fetch lat from snow_depth where unit exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008875 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: depth, lon, qc, lat
Sensor: air_quality | fields: lon, value, reading, type
Task: Get depth from visibility where value exceeds the total value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008876 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, reading, lat, value
Sensor: evaporation | fields: value, level, unit, reading
Task: Fetch level from cloud_cover where depth exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008877 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, level, value, depth
Sensor: lightning | fields: depth, lat, qc, value
Task: Get reading from soil_moisture where qc appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008878 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: value, lat, ts, lon
Sensor: sunlight | fields: lon, type, reading, qc
Task: Get reading from snow_depth where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008879 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: unit, lon, depth, ts
Sensor: wind_speed | fields: depth, qc, lon, lat
Task: Get level from frost where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008880 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: ts, reading, lon, type
Sensor: air_quality | fields: ts, lat, reading, type
Task: Fetch lon from turbidity where reading is greater than the average of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008881 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: reading, unit, qc, value
Sensor: visibility | fields: level, type, qc, depth
Task: Retrieve lon from pressure whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008882 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, type, reading, unit
Sensor: wind_speed | fields: type, ts, value, reading
Task: Retrieve value from frost with value above the MAX(depth) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008883 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, type, depth, ts
Sensor: rainfall | fields: value, level, lon, depth
Task: Retrieve lat from wind_speed that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008884 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, value, qc, ts
Sensor: pressure | fields: qc, reading, unit, lon
Task: Fetch value from cloud_cover where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008885 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: value, depth, qc, type
Sensor: air_quality | fields: ts, depth, qc, lon
Task: Retrieve reading from wind_speed whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008886 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, depth, lat, qc
Sensor: visibility | fields: depth, lat, reading, qc
Task: Fetch lat from evaporation where value is greater than the average of reading in visibility for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008887 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: level, reading, unit, qc
Sensor: dew_point | fields: type, level, depth, qc
Task: Get lon from temperature where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008888 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: value, type, lat, lon
Sensor: snow_depth | fields: reading, type, level, value
Task: Retrieve value from frost with reading above the MAX(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008889 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, type, level, lon
Sensor: drought_index | fields: reading, depth, qc, ts
Task: Get lon from dew_point where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008890 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lat, qc, level, reading
Sensor: lightning | fields: level, ts, reading, value
Task: Fetch level from turbidity where qc exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008891 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lat, lon, unit, type
Sensor: wind_speed | fields: level, qc, value, unit
Task: Fetch value from dew_point where reading is greater than the average of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008892 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lat, value, depth, level
Sensor: uv_index | fields: type, depth, lon, value
Task: Fetch value from visibility that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008893 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: unit, level, qc, lat
Sensor: frost | fields: depth, qc, level, ts
Task: Fetch level from uv_index where ts exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008894 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: type, depth, qc, unit
Sensor: uv_index | fields: lon, qc, reading, value
Task: Fetch depth from evaporation that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008895 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: depth, qc, value, type
Sensor: lightning | fields: ts, reading, unit, qc
Task: Retrieve level from humidity that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008896 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, value, type, lat
Sensor: drought_index | fields: qc, type, unit, depth
Task: Get level from turbidity where reading exceeds the total value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008897 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: reading, type, qc, lon
Sensor: soil_moisture | fields: value, unit, qc, level
Task: Get value from evaporation where ts appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008898 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: depth, lat, type, level
Sensor: sunlight | fields: reading, lat, value, qc
Task: Retrieve value from frost with reading above the SUM(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.