variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: pressure | code: gst | fields: value, level, reading, lon
Sensor: frost | fields: qc, unit, value, reading
Task: Retrieve value from pressure whose type is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003800 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, lon, value, qc
Sensor: drought_index | fields: lon, level, ts, value
Task: Get reading from wind_speed where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003801 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: value, depth, qc, lon
Sensor: visibility | fields: ts, lon, value, unit
Task: Retrieve depth from evaporation that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003802 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: reading, level, lon, unit
Sensor: sunlight | fields: reading, level, type, ts
Task: Fetch reading from drought_index that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003803 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: level, unit, depth, lat
Sensor: wind_speed | fields: unit, ts, level, qc
Task: Fetch value from sunlight where ts exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003804 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: level, ts, unit, value
Sensor: visibility | fields: qc, lat, type, lon
Task: Get depth from rainfall where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003805 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, level, reading, lat
Sensor: uv_index | fields: lon, depth, qc, type
Task: Retrieve level from wind_speed whose depth is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003806 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: type, reading, level, value
Sensor: rainfall | fields: unit, ts, qc, lat
Task: Fetch reading from drought_index where reading is greater than the maximum of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003807 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: value, unit, lon, ts
Sensor: cloud_cover | fields: ts, lon, unit, qc
Task: Retrieve lat from pressure with value above the COUNT(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003808 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, lat, unit, reading
Sensor: lightning | fields: lon, type, unit, lat
Task: Retrieve depth from sunlight whose type is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003809 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: depth, level, reading, lon
Sensor: evaporation | fields: depth, lon, unit, lat
Task: Get depth from lightning where depth exceeds the count of reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003810 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: qc, depth, lon, type
Sensor: cloud_cover | fields: lat, type, ts, value
Task: Retrieve depth from dew_point that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003811 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: qc, ts, depth, reading
Sensor: humidity | fields: lon, value, level, qc
Task: Retrieve lon from rainfall with reading above the AVG(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003812 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: unit, type, depth, qc
Sensor: sunlight | fields: depth, ts, lon, qc
Task: Fetch lon from uv_index where type exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003813 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lon, reading, unit, lat
Sensor: humidity | fields: depth, type, value, reading
Task: Retrieve reading from uv_index with value above the AVG(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003814 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, depth, level, lat
Sensor: pressure | fields: type, level, qc, unit
Task: Fetch lon from snow_depth where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003815 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: ts, lon, value, type
Sensor: uv_index | fields: unit, type, depth, qc
Task: Retrieve lon from frost whose qc is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003816 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, qc, value, unit
Sensor: uv_index | fields: level, value, lat, lon
Task: Retrieve reading from cloud_cover with depth above the MAX(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003817 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lat, unit, reading, level
Sensor: snow_depth | fields: type, lat, qc, lon
Task: Get lat from evaporation where ts appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003818 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, value, unit, lat
Sensor: lightning | fields: depth, type, qc, level
Task: Get lat from dew_point where reading exceeds the total value from lightning for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003819 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, depth, type, qc
Sensor: humidity | fields: type, depth, lon, ts
Task: Get lat from pressure where reading exceeds the maximum depth from humidity for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003820 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, value, lat, depth
Sensor: dew_point | fields: value, lat, reading, qc
Task: Get depth from wind_speed where unit appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003821 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, level, depth, lon
Sensor: soil_moisture | fields: lon, reading, level, unit
Task: Get lon from visibility where depth appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003822 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, level, lat, unit
Sensor: drought_index | fields: depth, lon, qc, level
Task: Fetch depth from snow_depth where unit exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003823 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, lon, depth, ts
Sensor: visibility | fields: qc, depth, lat, reading
Task: Get level from pressure where depth exceeds the count of reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003824 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, lat, type, qc
Sensor: uv_index | fields: lat, qc, depth, unit
Task: Get value from wind_speed where ts appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003825 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: reading, lat, qc, value
Sensor: sunlight | fields: lon, reading, depth, type
Task: Get depth from temperature where value exceeds the minimum reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003826 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: reading, level, value, qc
Sensor: turbidity | fields: qc, lat, reading, depth
Task: Fetch value from uv_index that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003827 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, type, reading, level
Sensor: temperature | fields: qc, depth, reading, unit
Task: Get lon from snow_depth where depth exceeds the count of value from temperature for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003828 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, type, qc, lon
Sensor: turbidity | fields: ts, reading, qc, value
Task: Fetch depth from uv_index where type exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003829 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: depth, reading, lon, type
Sensor: air_quality | fields: qc, lon, unit, ts
Task: Fetch depth from temperature where value is greater than the total of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003830 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: qc, type, depth, reading
Sensor: humidity | fields: ts, value, qc, lat
Task: Retrieve level from temperature whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003831 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, depth, qc, lon
Sensor: evaporation | fields: reading, ts, type, lat
Task: Retrieve lon from sunlight with value above the MIN(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003832 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: level, type, lat, qc
Sensor: air_quality | fields: lon, value, qc, unit
Task: Retrieve reading from dew_point that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003833 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, value, type, lat
Sensor: soil_moisture | fields: depth, ts, qc, unit
Task: Fetch level from cloud_cover where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003834 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: unit, reading, value, level
Sensor: uv_index | fields: type, unit, value, level
Task: Fetch value from visibility where qc exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003835 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: value, lon, reading, unit
Sensor: humidity | fields: qc, unit, type, lat
Task: Retrieve lat from dew_point that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003836 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, type, lon, level
Sensor: turbidity | fields: ts, lon, depth, qc
Task: Retrieve value from evaporation with depth above the MIN(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003837 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, lat, qc, reading
Sensor: frost | fields: lat, reading, lon, level
Task: Retrieve level from wind_speed with value above the MIN(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003838 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: depth, unit, ts, lon
Sensor: air_quality | fields: value, reading, lon, lat
Task: Fetch value from drought_index that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003839 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: value, unit, lon, depth
Sensor: humidity | fields: depth, type, reading, value
Task: Fetch lon from evaporation that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003840 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, lon, depth, ts
Sensor: frost | fields: value, reading, unit, level
Task: Retrieve level from sunlight that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003841 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: unit, level, lat, reading
Sensor: cloud_cover | fields: depth, unit, lat, value
Task: Retrieve lat from air_quality whose type is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003842 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, qc, lon, lat
Sensor: sunlight | fields: type, lat, value, ts
Task: Fetch value from soil_moisture that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003843 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: type, depth, ts, unit
Sensor: dew_point | fields: value, type, unit, level
Task: Get lon from snow_depth where reading exceeds the count of depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003844 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: type, qc, value, level
Sensor: cloud_cover | fields: lon, level, lat, reading
Task: Fetch lat from dew_point that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003845 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, type, ts, depth
Sensor: dew_point | fields: reading, qc, depth, lon
Task: Get depth from snow_depth where depth appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003846 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lat, ts, unit, qc
Sensor: snow_depth | fields: value, qc, type, depth
Task: Fetch reading from humidity where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003847 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: unit, type, value, reading
Sensor: frost | fields: value, qc, ts, lat
Task: Retrieve lat from turbidity whose type is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003848 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, lon, level, unit
Sensor: visibility | fields: lat, level, ts, depth
Task: Get lat from humidity where depth exceeds the total reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003849 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, level, value, type
Sensor: soil_moisture | fields: unit, lon, type, depth
Task: Retrieve lon from pressure with reading above the AVG(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003850 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lon, value, ts, level
Sensor: drought_index | fields: level, value, reading, lon
Task: Retrieve reading from sunlight with value above the MIN(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003851 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: value, level, type, ts
Sensor: humidity | fields: reading, type, ts, lat
Task: Retrieve reading from uv_index with value above the AVG(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003852 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: qc, depth, reading, type
Sensor: pressure | fields: qc, value, type, lat
Task: Retrieve level from frost that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003853 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: ts, reading, depth, type
Sensor: uv_index | fields: reading, qc, depth, level
Task: Retrieve depth from evaporation whose unit is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003854 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: level, lon, reading, qc
Sensor: cloud_cover | fields: qc, depth, reading, unit
Task: Get reading from rainfall where reading exceeds the total reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003855 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: qc, reading, level, value
Sensor: uv_index | fields: ts, depth, unit, level
Task: Fetch reading from pressure where ts exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003856 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: reading, unit, lat, lon
Sensor: uv_index | fields: level, ts, unit, value
Task: Fetch lon from air_quality that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003857 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: reading, qc, lat, type
Sensor: visibility | fields: ts, lon, type, value
Task: Get reading from pressure where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003858 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: ts, qc, lon, type
Sensor: rainfall | fields: qc, type, lon, level
Task: Retrieve value from turbidity that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003859 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: reading, type, depth, ts
Sensor: uv_index | fields: lat, depth, level, unit
Task: Fetch value from dew_point where depth exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003860 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, lat, type, depth
Sensor: humidity | fields: unit, level, value, lat
Task: Retrieve depth from lightning that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003861 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: qc, ts, reading, depth
Sensor: lightning | fields: ts, unit, qc, reading
Task: Get lon from turbidity where ts appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003862 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: level, qc, ts, value
Sensor: dew_point | fields: depth, unit, qc, reading
Task: Fetch lat from pressure that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003863 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, lat, ts, qc
Sensor: pressure | fields: unit, lat, lon, depth
Task: Retrieve level from cloud_cover with value above the MIN(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003864 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, unit, value, reading
Sensor: temperature | fields: lat, value, ts, qc
Task: Fetch reading from air_quality where ts exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003865 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: value, type, lat, lon
Sensor: uv_index | fields: lat, value, depth, reading
Task: Get level from pressure where value exceeds the count of reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003866 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: qc, reading, unit, depth
Sensor: drought_index | fields: ts, unit, qc, value
Task: Fetch level from humidity that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003867 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: value, reading, ts, level
Sensor: frost | fields: unit, lat, reading, type
Task: Get value from evaporation where unit appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003868 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: type, level, depth, ts
Sensor: humidity | fields: reading, lon, qc, ts
Task: Retrieve lat from lightning whose qc is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003869 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, reading, lon, ts
Sensor: pressure | fields: lon, depth, lat, qc
Task: Retrieve level from uv_index whose depth is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003870 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, ts, type, lat
Sensor: pressure | fields: lat, level, value, unit
Task: Fetch level from visibility where type exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003871 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, unit, value, ts
Sensor: drought_index | fields: level, lat, depth, unit
Task: Get lon from rainfall where depth exceeds the maximum depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003872 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, lat, qc, level
Sensor: humidity | fields: level, value, lat, lon
Task: Get lon from drought_index where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003873 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: depth, level, ts, type
Sensor: dew_point | fields: depth, reading, type, unit
Task: Fetch lat from uv_index where value is greater than the count of of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003874 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, ts, lon, lat
Sensor: lightning | fields: value, ts, qc, type
Task: Retrieve level from rainfall with depth above the MAX(depth) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003875 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, lon, depth, lat
Sensor: lightning | fields: value, lon, qc, depth
Task: Retrieve lat from cloud_cover whose qc is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003876 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: value, lon, lat, depth
Sensor: air_quality | fields: value, lat, ts, reading
Task: Get value from drought_index where value exceeds the count of reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003877 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, value, lat, unit
Sensor: rainfall | fields: level, type, value, lon
Task: Get lon from snow_depth where type appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003878 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: value, depth, unit, lat
Sensor: frost | fields: value, lon, level, qc
Task: Fetch level from pressure where reading is greater than the count of of value in frost for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003879 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, value, level, type
Sensor: turbidity | fields: lat, lon, unit, value
Task: Retrieve lon from snow_depth whose unit is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003880 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, ts, lat, level
Sensor: frost | fields: ts, depth, level, reading
Task: Fetch lat from cloud_cover where qc exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003881 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, qc, level, unit
Sensor: pressure | fields: qc, ts, unit, depth
Task: Get lat from dew_point where depth exceeds the total reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003882 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, value, qc, depth
Sensor: snow_depth | fields: depth, lon, ts, unit
Task: Get lat from cloud_cover where depth exceeds the minimum depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003883 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, value, unit, qc
Sensor: frost | fields: value, unit, depth, ts
Task: Fetch lat from soil_moisture where unit exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003884 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, qc, unit, reading
Sensor: visibility | fields: type, lon, ts, reading
Task: Fetch reading from pressure where value is greater than the average of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003885 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, depth, type, unit
Sensor: drought_index | fields: unit, ts, qc, level
Task: Fetch lon from snow_depth where qc exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003886 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: unit, lon, level, ts
Sensor: sunlight | fields: reading, lon, value, lat
Task: Retrieve depth from pressure whose qc is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003887 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, reading, qc, value
Sensor: dew_point | fields: depth, type, lat, qc
Task: Get lat from humidity where qc appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003888 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lon, value, level, qc
Sensor: frost | fields: lon, type, depth, reading
Task: Retrieve lon from air_quality with value above the AVG(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003889 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, qc, value, lat
Sensor: pressure | fields: type, qc, level, value
Task: Fetch lon from cloud_cover where type exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003890 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, type, ts, lon
Sensor: snow_depth | fields: lon, level, type, ts
Task: Fetch value from rainfall where depth exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003891 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: unit, type, qc, lon
Sensor: humidity | fields: level, type, lat, lon
Task: Fetch lat from frost that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003892 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, lat, value, lon
Sensor: wind_speed | fields: level, qc, ts, lon
Task: Retrieve level from sunlight whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003893 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: unit, qc, lat, level
Sensor: lightning | fields: level, ts, qc, lat
Task: Retrieve level from dew_point whose depth is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003894 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, depth, qc, ts
Sensor: temperature | fields: level, type, lon, unit
Task: Retrieve lon from snow_depth with value above the SUM(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003895 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, lon, qc, level
Sensor: humidity | fields: unit, lon, qc, type
Task: Fetch lat from evaporation that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003896 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lon, qc, level, type
Sensor: drought_index | fields: depth, reading, qc, unit
Task: Retrieve lon from turbidity with reading above the COUNT(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003897 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: ts, unit, reading, lat
Sensor: dew_point | fields: ts, type, value, unit
Task: Fetch lon from frost where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003898 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, reading, ts, value
Sensor: dew_point | fields: lon, lat, value, reading
Task: Fetch level from temperature where value is greater than the average of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.