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: rainfall | code: stn | fields: reading, depth, ts, lon
Sensor: air_quality | fields: unit, level, reading, depth
Task: Retrieve level from rainfall with depth above the MIN(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052800 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, reading, type, ts
Sensor: visibility | fields: type, lon, level, lat
Task: Retrieve lon from snow_depth whose type is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052801 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: qc, ts, type, lon
Sensor: sunlight | fields: ts, value, type, lat
Task: Fetch depth from visibility that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052802 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: qc, ts, lat, lon
Sensor: humidity | fields: depth, ts, type, level
Task: Retrieve reading from uv_index whose ts is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052803 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, depth, level, ts
Sensor: lightning | fields: type, ts, depth, level
Task: Fetch depth from soil_moisture where unit exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052804 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, reading, lon, depth
Sensor: evaporation | fields: reading, value, unit, level
Task: Retrieve lon from uv_index whose unit is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052805 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, ts, lat, type
Sensor: dew_point | fields: lat, lon, value, level
Task: Fetch value from pressure where value is greater than the minimum of value in dew_point for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052806 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lat, value, reading, unit
Sensor: frost | fields: ts, type, level, unit
Task: Retrieve level from visibility whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052807 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: unit, type, level, reading
Sensor: temperature | fields: unit, value, qc, lon
Task: Get value from humidity where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052808 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, type, ts, reading
Sensor: snow_depth | fields: lat, level, unit, reading
Task: Retrieve depth from drought_index that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052809 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, type, qc, ts
Sensor: humidity | fields: depth, value, qc, level
Task: Fetch reading from snow_depth where reading is greater than the total of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052810 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, depth, lon, type
Sensor: soil_moisture | fields: unit, value, reading, ts
Task: Retrieve reading from evaporation that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052811 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, reading, depth, value
Sensor: evaporation | fields: lat, ts, qc, type
Task: Get lat from dew_point where depth exceeds the count of value from evaporation for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052812 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, reading, unit, qc
Sensor: humidity | fields: depth, ts, lat, lon
Task: Fetch reading from wind_speed that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052813 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lat, level, value, reading
Sensor: humidity | fields: lon, unit, level, value
Task: Fetch lon from dew_point that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052814 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: ts, unit, value, type
Sensor: uv_index | fields: ts, value, level, type
Task: Fetch depth from frost where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052815 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lat, value, level, reading
Sensor: rainfall | fields: lat, reading, lon, type
Task: Get value from evaporation where reading exceeds the count of reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052816 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: level, lat, qc, ts
Sensor: soil_moisture | fields: ts, reading, qc, unit
Task: Fetch depth from lightning where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052817 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: unit, depth, reading, level
Sensor: pressure | fields: unit, value, lat, lon
Task: Retrieve lon from sunlight that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052818 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: depth, unit, lat, reading
Sensor: cloud_cover | fields: type, lon, depth, lat
Task: Retrieve level from temperature with reading above the MAX(value) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052819 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: unit, reading, qc, lon
Sensor: humidity | fields: type, depth, unit, value
Task: Get reading from lightning where depth appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052820 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: reading, value, type, lon
Sensor: humidity | fields: level, lon, reading, value
Task: Retrieve lon from drought_index whose qc is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052821 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, reading, lon, type
Sensor: wind_speed | fields: unit, type, level, ts
Task: Retrieve value from rainfall that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052822 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: reading, lat, ts, depth
Sensor: soil_moisture | fields: unit, type, ts, reading
Task: Retrieve lon from turbidity that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052823 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: type, unit, value, depth
Sensor: pressure | fields: type, value, lon, qc
Task: Retrieve reading from lightning with value above the COUNT(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052824 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lon, depth, unit, ts
Sensor: pressure | fields: ts, lat, depth, level
Task: Fetch depth from air_quality where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052825 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: depth, value, ts, type
Sensor: pressure | fields: level, lon, value, lat
Task: Fetch value from temperature where depth exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052826 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: value, reading, lat, depth
Sensor: cloud_cover | fields: lon, ts, depth, level
Task: Get depth from drought_index where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052827 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: unit, qc, depth, level
Sensor: snow_depth | fields: lon, lat, type, unit
Task: Fetch lat from uv_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052828 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: unit, level, qc, lat
Sensor: humidity | fields: lon, reading, depth, type
Task: Fetch depth from air_quality where depth is greater than the minimum of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052829 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: depth, value, unit, lon
Sensor: cloud_cover | fields: qc, level, type, depth
Task: Fetch lat from frost where depth is greater than the minimum of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052830 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: reading, lon, value, ts
Sensor: evaporation | fields: lat, reading, depth, value
Task: Retrieve depth from sunlight with reading above the SUM(depth) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052831 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: ts, value, qc, depth
Sensor: drought_index | fields: type, depth, lat, level
Task: Retrieve level from dew_point with value above the AVG(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052832 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, qc, depth, ts
Sensor: evaporation | fields: depth, value, qc, reading
Task: Fetch level from temperature that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052833 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, unit, lat, qc
Sensor: wind_speed | fields: depth, lat, value, type
Task: Retrieve lat from evaporation whose type is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052834 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: ts, value, reading, type
Sensor: soil_moisture | fields: qc, ts, lon, reading
Task: Fetch reading from temperature that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052835 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: ts, level, reading, value
Sensor: soil_moisture | fields: lat, reading, level, unit
Task: Fetch level from pressure where depth exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052836 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, type, ts, depth
Sensor: lightning | fields: lon, value, depth, reading
Task: Retrieve level from soil_moisture with value above the MAX(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052837 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, qc, type, lat
Sensor: cloud_cover | fields: value, ts, depth, level
Task: Fetch reading from humidity where reading is greater than the minimum of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052838 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: unit, value, lat, level
Sensor: soil_moisture | fields: depth, lon, type, lat
Task: Get value from humidity where reading exceeds the minimum reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052839 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, unit, reading, qc
Sensor: drought_index | fields: value, qc, reading, type
Task: Get lat from soil_moisture where value exceeds the average reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052840 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lon, ts, lat, unit
Sensor: evaporation | fields: ts, qc, level, unit
Task: Retrieve value from drought_index that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052841 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: depth, value, type, lon
Sensor: rainfall | fields: reading, ts, lat, lon
Task: Retrieve value from evaporation with value above the COUNT(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052842 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, level, lat, depth
Sensor: frost | fields: type, qc, depth, lat
Task: Get lon from uv_index where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052843 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: depth, unit, lon, lat
Sensor: frost | fields: level, lat, qc, value
Task: Fetch depth from visibility where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052844 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: depth, level, qc, unit
Sensor: lightning | fields: ts, type, value, qc
Task: Fetch lon from drought_index where type exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052845 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: reading, level, lon, value
Sensor: soil_moisture | fields: ts, level, depth, type
Task: Fetch lon from dew_point where value is greater than the count of of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052846 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, level, depth, lon
Sensor: rainfall | fields: unit, type, ts, lat
Task: Get value from soil_moisture where type appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052847 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, ts, lon, level
Sensor: snow_depth | fields: ts, lon, value, type
Task: Retrieve depth from pressure that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052848 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, qc, type, level
Sensor: lightning | fields: unit, depth, lon, value
Task: Retrieve reading from snow_depth with value above the COUNT(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052849 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: unit, qc, reading, lat
Sensor: drought_index | fields: level, qc, depth, value
Task: Retrieve depth from visibility whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052850 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, unit, qc, reading
Sensor: wind_speed | fields: qc, lat, lon, reading
Task: Fetch depth from cloud_cover where reading is greater than the total of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052851 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: ts, value, reading, depth
Sensor: snow_depth | fields: type, qc, reading, level
Task: Retrieve reading from drought_index that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052852 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: type, depth, unit, level
Sensor: turbidity | fields: value, lat, lon, reading
Task: Get depth from drought_index where depth exceeds the maximum value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052853 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: unit, lat, type, reading
Sensor: wind_speed | fields: lon, ts, reading, qc
Task: Get reading from dew_point where reading exceeds the minimum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052854 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: reading, unit, qc, depth
Sensor: snow_depth | fields: lat, qc, type, reading
Task: Fetch depth from evaporation that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052855 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: reading, ts, value, lon
Sensor: wind_speed | fields: qc, unit, reading, type
Task: Get reading from evaporation where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052856 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lon, lat, reading, value
Sensor: drought_index | fields: value, level, lon, lat
Task: Get lon from rainfall where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052857 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: type, depth, qc, reading
Sensor: wind_speed | fields: type, depth, value, reading
Task: Fetch level from frost where unit exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052858 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, level, depth, reading
Sensor: soil_moisture | fields: depth, level, type, lon
Task: Get reading from pressure where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052859 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, unit, ts, lon
Sensor: temperature | fields: qc, depth, lon, reading
Task: Get reading from frost where ts appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052860 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, qc, lon, reading
Sensor: temperature | fields: lat, ts, level, lon
Task: Get value from dew_point where depth exceeds the maximum value from temperature for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052861 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lat, qc, ts, value
Sensor: pressure | fields: lon, lat, level, ts
Task: Get reading from drought_index where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052862 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: ts, unit, value, lat
Sensor: turbidity | fields: unit, level, lon, lat
Task: Get value from uv_index where qc appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052863 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: value, lon, reading, lat
Sensor: dew_point | fields: reading, value, lat, type
Task: Get lat from drought_index where reading exceeds the minimum value from dew_point for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052864 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lat, value, reading, qc
Sensor: uv_index | fields: type, reading, unit, ts
Task: Fetch level from turbidity where depth is greater than the average of value in uv_index for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052865 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: unit, qc, reading, level
Sensor: drought_index | fields: ts, lon, type, level
Task: Get lat from uv_index where depth exceeds the maximum value from drought_index for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052866 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: ts, value, unit, type
Sensor: sunlight | fields: unit, type, reading, level
Task: Retrieve reading from lightning whose ts is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052867 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, reading, type, value
Sensor: cloud_cover | fields: qc, lat, ts, unit
Task: Retrieve level from soil_moisture whose ts is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052868 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, value, level, ts
Sensor: soil_moisture | fields: ts, lon, type, value
Task: Retrieve value from sunlight with reading above the MIN(depth) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052869 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, unit, value, type
Sensor: uv_index | fields: value, depth, type, lat
Task: Fetch level from soil_moisture where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052870 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, level, qc, lon
Sensor: cloud_cover | fields: reading, depth, ts, unit
Task: Get depth from rainfall where reading exceeds the maximum depth from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052871 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, type, depth, lat
Sensor: wind_speed | fields: lat, ts, depth, lon
Task: Get depth from dew_point where value exceeds the minimum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052872 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, lat, type, level
Sensor: rainfall | fields: unit, level, ts, reading
Task: Fetch level from soil_moisture that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052873 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: depth, reading, lon, lat
Sensor: drought_index | fields: unit, reading, lon, value
Task: Fetch depth from humidity that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052874 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, lon, type, level
Sensor: lightning | fields: type, depth, reading, lon
Task: Retrieve lon from wind_speed that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052875 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: value, reading, unit, lat
Sensor: turbidity | fields: reading, lon, qc, unit
Task: Fetch depth from wind_speed where depth is greater than the total of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052876 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: depth, ts, level, reading
Sensor: evaporation | fields: reading, ts, value, unit
Task: Get reading from rainfall where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052877 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lon, level, qc, lat
Sensor: wind_speed | fields: reading, value, lon, lat
Task: Fetch lat from pressure where value is greater than the minimum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052878 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: type, value, ts, unit
Sensor: wind_speed | fields: value, level, lon, type
Task: Get lon from sunlight where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052879 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: ts, lon, level, lat
Sensor: evaporation | fields: qc, level, lon, lat
Task: Retrieve depth from turbidity that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052880 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: level, type, value, lon
Sensor: evaporation | fields: depth, reading, unit, lon
Task: Fetch lon from sunlight that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052881 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lat, value, ts, depth
Sensor: soil_moisture | fields: lat, value, level, ts
Task: Fetch value from air_quality that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052882 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, lat, value, lon
Sensor: soil_moisture | fields: type, qc, reading, value
Task: Retrieve lat from drought_index that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052883 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: qc, reading, ts, value
Sensor: soil_moisture | fields: qc, unit, reading, lat
Task: Fetch value from rainfall that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052884 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, type, lat, qc
Sensor: dew_point | fields: type, depth, unit, lon
Task: Get level from uv_index where qc appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052885 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: ts, lon, qc, level
Sensor: soil_moisture | fields: level, qc, lat, reading
Task: Retrieve depth from evaporation with depth above the AVG(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052886 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: level, ts, reading, depth
Sensor: uv_index | fields: level, depth, reading, unit
Task: Get level from evaporation where value exceeds the total value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052887 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: level, ts, lon, reading
Sensor: evaporation | fields: reading, lon, value, depth
Task: Get depth from sunlight where type appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052888 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: ts, reading, depth, unit
Sensor: sunlight | fields: depth, reading, type, level
Task: Fetch reading from dew_point where reading is greater than the maximum of value in sunlight for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052889 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, qc, depth, ts
Sensor: uv_index | fields: level, lon, ts, value
Task: Get reading from visibility where value exceeds the minimum reading from uv_index for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052890 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: depth, level, value, type
Sensor: evaporation | fields: level, value, qc, unit
Task: Get depth from humidity where depth exceeds the maximum reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052891 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: type, level, value, qc
Sensor: turbidity | fields: lon, reading, lat, ts
Task: Retrieve lon from drought_index with value above the SUM(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052892 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lat, depth, qc, type
Sensor: dew_point | fields: reading, lon, qc, unit
Task: Fetch value from evaporation that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052893 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lat, lon, reading, level
Sensor: snow_depth | fields: type, ts, unit, depth
Task: Retrieve depth from frost that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052894 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: level, lat, type, qc
Sensor: turbidity | fields: unit, reading, level, value
Task: Retrieve lon from drought_index with reading above the AVG(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052895 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: ts, lat, level, qc
Sensor: wind_speed | fields: type, level, reading, lon
Task: Retrieve lat from rainfall with value above the SUM(depth) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"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_052896 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: value, depth, reading, type
Sensor: dew_point | fields: lat, level, unit, reading
Task: Get lat from wind_speed where reading exceeds the count of value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052897 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, depth, ts, qc
Sensor: sunlight | fields: ts, qc, unit, type
Task: Fetch depth from cloud_cover where reading is greater than the minimum of value in sunlight for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052898 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, depth, value, reading
Sensor: sunlight | fields: unit, reading, value, qc
Task: Fetch depth from snow_depth that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.