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: drought_index | code: gst | fields: lon, type, value, lat
Sensor: cloud_cover | fields: qc, unit, lon, depth
Task: Retrieve depth from drought_index whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083800 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: unit, reading, level, lon
Sensor: dew_point | fields: qc, lat, unit, ts
Task: Fetch level from sunlight where unit exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083801 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, level, ts, unit
Sensor: humidity | fields: level, type, lat, unit
Task: Retrieve depth from drought_index that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083802 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: ts, qc, lat, depth
Sensor: temperature | fields: ts, reading, lat, qc
Task: Retrieve reading from rainfall that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083803 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, lon, lat, qc
Sensor: soil_moisture | fields: lat, unit, qc, level
Task: Get lon from uv_index where type appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083804 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: level, unit, value, depth
Sensor: soil_moisture | fields: reading, type, value, level
Task: Fetch level from snow_depth that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083805 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: unit, level, lat, lon
Sensor: pressure | fields: lat, ts, qc, depth
Task: Retrieve value from drought_index that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083806 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: value, lon, level, depth
Sensor: cloud_cover | fields: level, reading, unit, qc
Task: Retrieve level from rainfall with value above the MIN(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083807 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: unit, ts, value, lat
Sensor: frost | fields: reading, type, unit, ts
Task: Retrieve reading from uv_index with reading above the COUNT(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083808 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lat, unit, level, qc
Sensor: humidity | fields: unit, level, lat, ts
Task: Get lat from dew_point where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083809 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, reading, lat, qc
Sensor: soil_moisture | fields: type, depth, reading, level
Task: Retrieve value from snow_depth whose depth is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083810 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: depth, reading, unit, lon
Sensor: snow_depth | fields: depth, lat, ts, reading
Task: Retrieve level from humidity whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083811 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: lat, value, unit, type
Sensor: wind_speed | fields: value, lat, reading, type
Task: Retrieve value from temperature whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083812 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lon, type, reading, value
Sensor: evaporation | fields: ts, lon, level, type
Task: Get lon from frost where reading exceeds the minimum value from evaporation for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083813 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, level, lat, reading
Sensor: visibility | fields: depth, unit, reading, value
Task: Retrieve level from soil_moisture whose type is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083814 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: type, depth, lat, qc
Sensor: rainfall | fields: qc, reading, value, depth
Task: Get value from snow_depth where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083815 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, ts, type, lat
Sensor: sunlight | fields: type, unit, lon, qc
Task: Retrieve value from dew_point that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083816 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: type, depth, qc, reading
Sensor: soil_moisture | fields: depth, lon, unit, level
Task: Fetch lat from dew_point where depth is greater than the minimum of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"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_083817 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: level, reading, unit, type
Sensor: dew_point | fields: qc, level, ts, lon
Task: Get reading from turbidity where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083818 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: depth, ts, unit, level
Sensor: cloud_cover | fields: depth, lon, ts, type
Task: Get value from sunlight where unit appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083819 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: level, type, lat, lon
Sensor: humidity | fields: qc, unit, value, lon
Task: Retrieve value from sunlight whose ts is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083820 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, reading, type, lat
Sensor: temperature | fields: value, depth, type, ts
Task: Fetch lon from frost where depth is greater than the maximum of depth in temperature for matching depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083821 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: ts, depth, qc, reading
Sensor: dew_point | fields: value, level, ts, depth
Task: Get level from lightning where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083822 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, reading, qc, value
Sensor: rainfall | fields: unit, type, lat, reading
Task: Fetch value from snow_depth where reading is greater than the minimum of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083823 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, type, unit, depth
Sensor: rainfall | fields: unit, value, level, lat
Task: Fetch reading from wind_speed that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083824 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lon, lat, reading, depth
Sensor: soil_moisture | fields: qc, reading, depth, lon
Task: Get lon from drought_index where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083825 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: level, lon, lat, reading
Sensor: rainfall | fields: lat, level, depth, ts
Task: Get lat from visibility where depth appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083826 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, reading, qc, level
Sensor: turbidity | fields: lat, level, depth, reading
Task: Fetch depth from drought_index that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083827 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: unit, value, level, reading
Sensor: dew_point | fields: level, depth, unit, lat
Task: Get depth from drought_index where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083828 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: ts, type, unit, value
Sensor: lightning | fields: ts, value, qc, unit
Task: Fetch reading from drought_index where reading is greater than the maximum of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083829 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, ts, type, depth
Sensor: cloud_cover | fields: level, reading, qc, type
Task: Get value from humidity where value exceeds the maximum reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083830 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: reading, value, qc, depth
Sensor: air_quality | fields: level, reading, lon, lat
Task: Retrieve lon from uv_index with reading above the MAX(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083831 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, lat, lon, depth
Sensor: soil_moisture | fields: lat, value, qc, type
Task: Retrieve lon from evaporation with reading above the SUM(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"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_083832 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, reading, lat, value
Sensor: humidity | fields: reading, value, lon, level
Task: Get depth from cloud_cover where reading exceeds the total value from humidity for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083833 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: value, lon, qc, level
Sensor: evaporation | fields: lon, type, depth, unit
Task: Get value from snow_depth where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083834 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: ts, value, unit, level
Sensor: wind_speed | fields: unit, lon, lat, ts
Task: Fetch level from uv_index where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083835 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lat, qc, level, reading
Sensor: evaporation | fields: depth, type, qc, reading
Task: Retrieve level from frost whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083836 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: type, depth, level, ts
Sensor: pressure | fields: depth, lat, value, unit
Task: Get level from drought_index where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083837 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: unit, reading, qc, ts
Sensor: wind_speed | fields: value, qc, lat, lon
Task: Retrieve reading from rainfall whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083838 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, ts, depth, level
Sensor: visibility | fields: value, type, ts, lat
Task: Get lat from dew_point where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083839 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: reading, qc, lat, ts
Sensor: frost | fields: unit, ts, value, qc
Task: Retrieve level from lightning whose type is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083840 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, reading, value, qc
Sensor: rainfall | fields: lat, depth, level, value
Task: Fetch reading from snow_depth where depth exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083841 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, level, depth, reading
Sensor: lightning | fields: lon, value, type, reading
Task: Get reading from cloud_cover where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083842 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, ts, type, depth
Sensor: drought_index | fields: reading, depth, lon, qc
Task: Fetch lat from dew_point where ts exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083843 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lon, value, depth, level
Sensor: evaporation | fields: depth, ts, value, type
Task: Get reading from uv_index where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083844 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lat, level, depth, type
Sensor: wind_speed | fields: type, level, lon, ts
Task: Retrieve lat from frost whose depth is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083845 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: qc, type, lon, unit
Sensor: lightning | fields: lat, depth, lon, reading
Task: Retrieve depth from dew_point whose ts is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083846 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: level, qc, reading, value
Sensor: rainfall | fields: ts, unit, type, lat
Task: Get value from lightning where qc appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083847 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: qc, ts, lon, level
Sensor: air_quality | fields: qc, depth, lon, value
Task: Get depth from lightning where type appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083848 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: level, depth, type, value
Sensor: visibility | fields: lat, unit, reading, level
Task: Get depth from snow_depth where qc appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083849 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, ts, type, qc
Sensor: temperature | fields: lat, depth, unit, value
Task: Fetch value from humidity where type exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083850 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: level, ts, lon, unit
Sensor: lightning | fields: level, ts, unit, reading
Task: Fetch value from frost where reading is greater than the count of of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083851 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: qc, level, type, value
Sensor: dew_point | fields: lon, depth, level, type
Task: Get lon from evaporation where reading exceeds the average value from dew_point for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083852 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, unit, lat, type
Sensor: lightning | fields: unit, lon, qc, value
Task: Get level from soil_moisture where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083853 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: value, type, lon, lat
Sensor: frost | fields: value, lat, reading, type
Task: Fetch depth from pressure that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083854 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: value, lon, type, lat
Sensor: rainfall | fields: reading, value, lon, level
Task: Fetch depth from humidity that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083855 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: reading, lon, lat, unit
Sensor: sunlight | fields: value, lon, lat, level
Task: Fetch reading from pressure that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083856 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, depth, unit, type
Sensor: turbidity | fields: value, depth, qc, unit
Task: Fetch lon from wind_speed where depth is greater than the average of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083857 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: reading, level, qc, ts
Sensor: visibility | fields: type, ts, reading, qc
Task: Get lat from uv_index where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083858 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: lon, type, lat, depth
Sensor: cloud_cover | fields: unit, reading, value, lat
Task: Get depth from visibility where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083859 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lon, type, qc, value
Sensor: temperature | fields: value, unit, lon, type
Task: Fetch reading from lightning where depth exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083860 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: unit, type, ts, level
Sensor: wind_speed | fields: unit, ts, lon, lat
Task: Get reading from sunlight where type appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083861 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: ts, lon, lat, unit
Sensor: sunlight | fields: value, lat, ts, level
Task: Retrieve reading from uv_index with value above the AVG(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083862 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, value, type, level
Sensor: dew_point | fields: level, value, qc, lat
Task: Get reading from air_quality where value exceeds the maximum reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083863 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lon, depth, lat, reading
Sensor: turbidity | fields: lon, qc, unit, reading
Task: Fetch lon from uv_index where depth is greater than the minimum of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083864 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, lat, level, type
Sensor: air_quality | fields: depth, lat, qc, ts
Task: Fetch lon from soil_moisture that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083865 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: depth, ts, unit, type
Sensor: wind_speed | fields: lon, ts, unit, level
Task: Retrieve depth from sunlight that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083866 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, depth, value, unit
Sensor: sunlight | fields: unit, lat, type, reading
Task: Retrieve level from snow_depth whose type is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083867 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, lat, unit, type
Sensor: snow_depth | fields: depth, reading, ts, unit
Task: Fetch reading from cloud_cover where value is greater than the average of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083868 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lat, level, reading, type
Sensor: uv_index | fields: lon, reading, depth, qc
Task: Retrieve reading from drought_index whose ts is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083869 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, lat, depth, qc
Sensor: sunlight | fields: lat, qc, ts, level
Task: Retrieve lon from air_quality that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083870 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: ts, reading, level, qc
Sensor: turbidity | fields: qc, unit, lon, depth
Task: Retrieve level from temperature with depth above the MIN(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083871 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, value, reading, lon
Sensor: humidity | fields: unit, lon, level, lat
Task: Retrieve level from lightning with depth above the MAX(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083872 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: type, reading, lat, unit
Sensor: cloud_cover | fields: unit, value, lon, type
Task: Fetch lat from pressure that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083873 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: ts, value, type, lat
Sensor: humidity | fields: level, qc, unit, lat
Task: Fetch depth from turbidity where reading is greater than the count of of depth in humidity for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083874 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: depth, type, ts, lon
Sensor: drought_index | fields: unit, qc, depth, value
Task: Get depth from sunlight where value exceeds the maximum value from drought_index for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083875 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: ts, type, depth, level
Sensor: sunlight | fields: type, lat, depth, level
Task: Get lat from temperature where depth exceeds the minimum reading from sunlight for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083876 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: level, unit, reading, qc
Sensor: sunlight | fields: lat, type, depth, lon
Task: Retrieve reading from drought_index that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083877 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, reading, qc, value
Sensor: rainfall | fields: depth, value, ts, lat
Task: Get depth from snow_depth where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083878 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: value, level, unit, ts
Sensor: turbidity | fields: level, lon, qc, type
Task: Fetch depth from uv_index where reading is greater than the maximum of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083879 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lon, unit, level, depth
Sensor: air_quality | fields: value, lon, ts, type
Task: Get reading from drought_index where reading exceeds the maximum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083880 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: ts, value, reading, lat
Sensor: visibility | fields: value, lat, lon, ts
Task: Fetch depth from humidity where type exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083881 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, depth, lon, ts
Sensor: sunlight | fields: level, qc, ts, type
Task: Retrieve reading from air_quality that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083882 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, qc, value, level
Sensor: visibility | fields: unit, level, lon, ts
Task: Retrieve lat from soil_moisture with value above the AVG(reading) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083883 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: level, unit, lon, depth
Sensor: air_quality | fields: ts, qc, unit, depth
Task: Fetch level from pressure where value is greater than the count of of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083884 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: value, depth, lon, lat
Sensor: pressure | fields: reading, unit, qc, ts
Task: Retrieve lat from sunlight that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083885 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lat, reading, depth, type
Sensor: lightning | fields: qc, value, lat, level
Task: Get reading from turbidity where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083886 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, value, type, qc
Sensor: temperature | fields: qc, depth, level, type
Task: Get reading from lightning where depth appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083887 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, lat, value, qc
Sensor: uv_index | fields: reading, lat, depth, level
Task: Get level from soil_moisture where value exceeds the minimum reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083888 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: unit, value, qc, depth
Sensor: turbidity | fields: qc, type, level, depth
Task: Fetch lon from visibility where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083889 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, qc, ts, depth
Sensor: pressure | fields: level, ts, depth, lon
Task: Fetch level from wind_speed that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083890 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: qc, reading, depth, lat
Sensor: lightning | fields: reading, lat, lon, qc
Task: Retrieve value from visibility whose unit is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083891 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, ts, reading, depth
Sensor: frost | fields: reading, level, unit, type
Task: Get lon from temperature where depth appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083892 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, qc, lat, lon
Sensor: rainfall | fields: qc, lat, ts, unit
Task: Fetch value from drought_index that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083893 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, lat, type, qc
Sensor: sunlight | fields: level, value, depth, qc
Task: Get value from evaporation where value exceeds the minimum depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083894 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: type, ts, reading, unit
Sensor: evaporation | fields: value, type, reading, lat
Task: Fetch depth from turbidity that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083895 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: reading, type, unit, depth
Sensor: soil_moisture | fields: lon, depth, level, qc
Task: Retrieve level from uv_index with reading above the SUM(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083896 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: ts, value, qc, unit
Sensor: wind_speed | fields: ts, lat, value, qc
Task: Get lat from dew_point where value exceeds the maximum value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083897 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: type, lon, unit, depth
Sensor: cloud_cover | fields: lon, qc, depth, lat
Task: Get depth from uv_index where value exceeds the count of reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083898 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, lon, depth, ts
Sensor: visibility | fields: qc, lon, level, type
Task: Fetch level from cloud_cover where depth is greater than the maximum of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.