variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, lat, reading, lon
Sensor: snow_depth | fields: type, lat, depth, qc
Task: Retrieve depth from sunlight with depth above the SUM(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079800 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, qc, depth, value
Sensor: visibility | fields: lat, level, depth, unit
Task: Get reading from rainfall where reading exceeds the total depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079801 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: depth, value, lon, reading
Sensor: uv_index | fields: type, depth, value, reading
Task: Get level from drought_index where type appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079802 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, qc, reading, depth
Sensor: drought_index | fields: lat, level, qc, lon
Task: Get lat from frost where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079803 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: type, level, unit, ts
Sensor: frost | fields: unit, qc, type, ts
Task: Get level from wind_speed where depth exceeds the maximum depth from frost for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079804 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: unit, type, qc, level
Sensor: turbidity | fields: level, qc, lon, value
Task: Fetch level from sunlight where depth is greater than the average of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079805 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: type, lat, value, depth
Sensor: visibility | fields: reading, unit, lat, depth
Task: Fetch level from humidity that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079806 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: qc, value, lon, depth
Sensor: drought_index | fields: reading, lon, level, value
Task: Get value from temperature where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079807 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: qc, value, unit, lat
Sensor: wind_speed | fields: lon, type, qc, unit
Task: Get value from humidity where type appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079808 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: unit, depth, level, reading
Sensor: dew_point | fields: reading, depth, value, lon
Task: Get lon from rainfall where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079809 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lat, value, qc, reading
Sensor: visibility | fields: reading, ts, qc, level
Task: Get depth from lightning where depth appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079810 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lon, level, qc, reading
Sensor: cloud_cover | fields: depth, lat, unit, type
Task: Get reading from dew_point where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079811 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, reading, unit, ts
Sensor: turbidity | fields: type, lat, unit, reading
Task: Get level from snow_depth where qc appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079812 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: type, value, reading, lat
Sensor: frost | fields: type, lat, unit, level
Task: Retrieve depth from sunlight with depth above the AVG(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079813 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: level, lat, depth, ts
Sensor: soil_moisture | fields: depth, qc, value, ts
Task: Get level from lightning where ts appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079814 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: type, level, ts, depth
Sensor: dew_point | fields: lon, qc, unit, ts
Task: Fetch depth from drought_index where unit exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079815 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: qc, value, depth, type
Sensor: visibility | fields: lon, value, lat, ts
Task: Get lat from air_quality where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079816 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: value, unit, lat, ts
Sensor: humidity | fields: reading, unit, ts, qc
Task: Retrieve reading from wind_speed whose qc is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079817 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, unit, ts, depth
Sensor: humidity | fields: depth, qc, type, lat
Task: Fetch depth from uv_index that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079818 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, lon, reading, depth
Sensor: sunlight | fields: level, value, ts, lat
Task: Get value from dew_point where ts appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079819 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: type, value, reading, depth
Sensor: air_quality | fields: reading, lon, value, type
Task: Fetch depth from snow_depth where value is greater than the maximum of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079820 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, qc, level, unit
Sensor: dew_point | fields: depth, reading, lat, lon
Task: Retrieve reading from visibility that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079821 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: reading, qc, value, lat
Sensor: visibility | fields: reading, ts, level, depth
Task: Fetch lon from dew_point where value is greater than the maximum of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079822 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: type, unit, lon, lat
Sensor: snow_depth | fields: qc, ts, lon, reading
Task: Get lon from wind_speed where value exceeds the count of depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079823 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: type, level, depth, unit
Sensor: rainfall | fields: reading, ts, unit, lon
Task: Fetch reading from uv_index that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079824 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lon, ts, lat, type
Sensor: wind_speed | fields: value, qc, ts, lon
Task: Get level from humidity where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079825 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lon, unit, type, qc
Sensor: air_quality | fields: depth, ts, lon, unit
Task: Get lon from humidity where reading exceeds the maximum depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079826 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: lon, unit, depth, ts
Sensor: evaporation | fields: level, value, type, reading
Task: Retrieve level from pressure that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079827 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lon, value, level, unit
Sensor: uv_index | fields: ts, lat, lon, level
Task: Retrieve lat from air_quality that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079828 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, value, depth, ts
Sensor: lightning | fields: value, ts, level, lon
Task: Retrieve reading from soil_moisture that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079829 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lon, lat, value, unit
Sensor: pressure | fields: lon, ts, level, reading
Task: Get reading from visibility where unit appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079830 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, lon, unit, qc
Sensor: cloud_cover | fields: ts, qc, type, lon
Task: Retrieve lat from lightning with reading above the COUNT(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079831 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, ts, type, lon
Sensor: cloud_cover | fields: lat, type, depth, ts
Task: Retrieve depth from air_quality that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079832 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, lon, reading, qc
Sensor: temperature | fields: lon, ts, type, unit
Task: Get value from wind_speed where qc appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079833 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: depth, lon, qc, reading
Sensor: soil_moisture | fields: type, depth, lat, level
Task: Retrieve depth from drought_index whose type is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079834 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, lat, ts, level
Sensor: air_quality | fields: unit, lon, lat, reading
Task: Retrieve depth from frost with value above the MIN(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079835 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lat, depth, lon, value
Sensor: turbidity | fields: value, reading, lat, ts
Task: Get reading from temperature where depth exceeds the maximum reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079836 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: ts, depth, lat, type
Sensor: frost | fields: ts, qc, reading, depth
Task: Retrieve reading from visibility with reading above the MAX(reading) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079837 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: qc, unit, reading, lon
Sensor: evaporation | fields: depth, level, lon, ts
Task: Retrieve lon from visibility whose qc is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079838 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lat, reading, value, depth
Sensor: snow_depth | fields: reading, level, unit, qc
Task: Fetch value from frost where ts exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079839 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, depth, type, level
Sensor: drought_index | fields: type, lat, level, ts
Task: Fetch depth from lightning where value is greater than the count of of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079840 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, reading, level, ts
Sensor: lightning | fields: level, depth, ts, unit
Task: Get level from soil_moisture where value exceeds the maximum value from lightning for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079841 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: qc, lat, ts, value
Sensor: cloud_cover | fields: value, lon, depth, ts
Task: Fetch lon from rainfall where qc exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079842 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, ts, unit, type
Sensor: frost | fields: depth, lat, qc, value
Task: Retrieve depth from humidity with depth above the MIN(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079843 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: depth, reading, lon, qc
Sensor: soil_moisture | fields: ts, lat, lon, type
Task: Retrieve level from drought_index whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079844 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: unit, level, type, value
Sensor: wind_speed | fields: lat, ts, qc, value
Task: Fetch value from sunlight that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079845 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: ts, type, value, depth
Sensor: evaporation | fields: ts, lon, lat, value
Task: Retrieve lon from frost whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079846 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, type, unit, qc
Sensor: cloud_cover | fields: depth, value, reading, lat
Task: Retrieve lon from snow_depth that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079847 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: qc, reading, unit, value
Sensor: frost | fields: level, qc, lon, reading
Task: Retrieve lat from lightning with reading above the MAX(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079848 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, unit, type, ts
Sensor: humidity | fields: qc, level, lon, type
Task: Get reading from soil_moisture where depth exceeds the average depth from humidity for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079849 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: depth, unit, reading, type
Sensor: lightning | fields: depth, type, lat, unit
Task: Get value from evaporation where reading exceeds the count of depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079850 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: ts, level, reading, depth
Sensor: uv_index | fields: level, type, lon, depth
Task: Get depth from humidity where type appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079851 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lon, value, ts, level
Sensor: pressure | fields: type, qc, ts, lon
Task: Retrieve level from air_quality that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079852 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: ts, depth, lon, value
Sensor: drought_index | fields: lon, qc, value, level
Task: Retrieve level from rainfall with reading above the AVG(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079853 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: ts, lat, depth, qc
Sensor: air_quality | fields: type, depth, unit, reading
Task: Fetch depth from lightning that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079854 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: qc, depth, value, lat
Sensor: temperature | fields: type, lon, value, qc
Task: Get lon from humidity where unit appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079855 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: type, level, lat, qc
Sensor: lightning | fields: reading, depth, type, lon
Task: Get value from snow_depth where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079856 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: unit, lon, depth, reading
Sensor: lightning | fields: type, qc, unit, lon
Task: Fetch lat from drought_index that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079857 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: qc, lat, lon, unit
Sensor: wind_speed | fields: type, ts, reading, qc
Task: Fetch lon from lightning where type exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079858 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: type, reading, qc, lat
Sensor: dew_point | fields: unit, type, level, depth
Task: Retrieve level from air_quality that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079859 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, depth, unit, reading
Sensor: dew_point | fields: lon, depth, type, reading
Task: Retrieve lat from soil_moisture whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079860 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, depth, qc, level
Sensor: air_quality | fields: unit, level, lat, depth
Task: Retrieve value from cloud_cover with reading above the MIN(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079861 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: type, depth, value, reading
Sensor: temperature | fields: type, depth, ts, reading
Task: Get lon from turbidity where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079862 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: type, unit, value, lon
Sensor: turbidity | fields: unit, qc, depth, level
Task: Get lon from frost where depth appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079863 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: qc, value, level, type
Sensor: visibility | fields: value, lat, lon, type
Task: Retrieve lat from uv_index whose ts is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079864 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: value, type, lat, ts
Sensor: pressure | fields: depth, qc, lon, lat
Task: Get level from lightning where reading exceeds the average value from pressure for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079865 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lat, unit, lon, depth
Sensor: frost | fields: unit, lon, lat, type
Task: Retrieve depth from air_quality that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079866 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, lat, unit, reading
Sensor: snow_depth | fields: value, lat, ts, qc
Task: Fetch lat from pressure where depth is greater than the count of of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079867 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, ts, qc, type
Sensor: air_quality | fields: lon, lat, value, reading
Task: Fetch reading from cloud_cover that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079868 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, ts, level, unit
Sensor: frost | fields: level, type, qc, lat
Task: Fetch reading from cloud_cover that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079869 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, lat, unit, level
Sensor: drought_index | fields: type, lat, lon, reading
Task: Get lon from air_quality where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079870 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, value, lon, ts
Sensor: frost | fields: depth, type, reading, ts
Task: Fetch depth from wind_speed that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079871 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: ts, level, lat, reading
Sensor: frost | fields: reading, level, value, qc
Task: Retrieve depth from temperature with depth above the AVG(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079872 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, lon, value, lat
Sensor: air_quality | fields: unit, qc, value, reading
Task: Fetch depth from humidity where depth exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079873 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: value, ts, type, reading
Sensor: soil_moisture | fields: level, unit, ts, lat
Task: Get value from frost where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079874 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: reading, unit, level, type
Sensor: dew_point | fields: level, lon, ts, qc
Task: Fetch lon from sunlight where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079875 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, qc, depth, reading
Sensor: evaporation | fields: level, lon, unit, ts
Task: Retrieve value from cloud_cover that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079876 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: qc, reading, level, lon
Sensor: lightning | fields: lon, qc, value, unit
Task: Fetch lon from frost that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079877 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: unit, level, lon, value
Sensor: soil_moisture | fields: lon, reading, depth, qc
Task: Get reading from rainfall where ts appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079878 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: level, unit, lat, depth
Sensor: uv_index | fields: lat, level, unit, ts
Task: Fetch lat from turbidity where ts exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079879 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, ts, depth, value
Sensor: wind_speed | fields: reading, ts, type, level
Task: Fetch value from visibility that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079880 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, level, lon, lat
Sensor: turbidity | fields: unit, type, ts, lon
Task: Get lon from lightning where reading exceeds the count of depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079881 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, reading, lon, unit
Sensor: cloud_cover | fields: type, reading, qc, level
Task: Get depth from soil_moisture where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079882 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, value, qc, ts
Sensor: soil_moisture | fields: type, ts, lat, unit
Task: Get reading from cloud_cover where value exceeds the minimum reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079883 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: value, lat, unit, qc
Sensor: pressure | fields: type, lon, value, lat
Task: Get lon from temperature where value exceeds the average reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079884 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lat, lon, ts, type
Sensor: snow_depth | fields: lon, depth, value, qc
Task: Get reading from rainfall where value exceeds the minimum value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079885 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, qc, ts, lon
Sensor: air_quality | fields: type, level, reading, unit
Task: Fetch lat from soil_moisture where unit exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079886 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: ts, level, lat, reading
Sensor: rainfall | fields: ts, lon, qc, level
Task: Retrieve depth from dew_point that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079887 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lon, level, depth, qc
Sensor: snow_depth | fields: ts, lat, type, level
Task: Fetch depth from air_quality where value is greater than the count of of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079888 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: type, lat, lon, unit
Sensor: snow_depth | fields: lat, reading, value, ts
Task: Fetch level from sunlight where unit exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079889 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, lat, qc, ts
Sensor: uv_index | fields: lon, reading, type, depth
Task: Retrieve value from pressure whose qc is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079890 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: lon, type, reading, lat
Sensor: rainfall | fields: qc, type, unit, reading
Task: Fetch lon from temperature that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079891 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: reading, lon, lat, value
Sensor: temperature | fields: level, value, depth, lat
Task: Retrieve lon from air_quality whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079892 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: reading, value, type, lon
Sensor: turbidity | fields: qc, lon, reading, depth
Task: Fetch reading from dew_point where depth exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079893 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: unit, ts, lat, type
Sensor: lightning | fields: qc, ts, lon, value
Task: Retrieve lat from humidity that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079894 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: type, value, depth, reading
Sensor: rainfall | fields: value, type, ts, unit
Task: Fetch lat from lightning where qc exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079895 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: unit, level, value, lat
Sensor: evaporation | fields: lat, depth, type, qc
Task: Fetch level from pressure where value is greater than the minimum of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079896 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, qc, level, ts
Sensor: cloud_cover | fields: lat, level, lon, depth
Task: Fetch reading from sunlight where depth is greater than the minimum of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079897 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: ts, depth, type, lon
Sensor: snow_depth | fields: reading, qc, lon, type
Task: Fetch lon from uv_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079898 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: reading, lat, type, value
Sensor: soil_moisture | fields: lon, reading, lat, type
Task: Retrieve level from evaporation with depth above the MIN(depth) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.