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: turbidity | code: stn | fields: qc, ts, lon, depth
Sensor: temperature | fields: ts, type, depth, qc
Task: Fetch value from turbidity where ts exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073800 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lon, level, depth, ts
Sensor: visibility | fields: depth, value, reading, type
Task: Fetch lat from rainfall where type exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073801 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, ts, level, reading
Sensor: uv_index | fields: qc, unit, depth, reading
Task: Retrieve level from sunlight with value above the MAX(depth) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073802 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: depth, type, qc, ts
Sensor: humidity | fields: type, unit, lat, qc
Task: Get level from lightning where depth exceeds the minimum depth from humidity for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073803 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, ts, lat, depth
Sensor: soil_moisture | fields: unit, reading, value, depth
Task: Get value from evaporation where value exceeds the total value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073804 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, lat, depth, value
Sensor: wind_speed | fields: qc, ts, unit, lon
Task: Retrieve depth from snow_depth that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073805 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: type, qc, ts, lon
Sensor: turbidity | fields: unit, ts, type, lat
Task: Get depth from air_quality where ts appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073806 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: value, lon, reading, type
Sensor: visibility | fields: unit, depth, level, lon
Task: Fetch lat from turbidity where value is greater than the average of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073807 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, reading, unit, lon
Sensor: sunlight | fields: lon, unit, level, qc
Task: Retrieve lat from soil_moisture with value above the COUNT(value) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073808 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: depth, type, unit, qc
Sensor: rainfall | fields: ts, level, unit, depth
Task: Fetch value from uv_index where unit exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073809 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lon, level, ts, depth
Sensor: wind_speed | fields: type, qc, value, reading
Task: Fetch lon from air_quality where ts exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073810 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, depth, value, type
Sensor: pressure | fields: lat, level, reading, type
Task: Fetch reading from rainfall where type exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073811 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: type, lat, ts, qc
Sensor: soil_moisture | fields: lat, type, qc, ts
Task: Retrieve lon from wind_speed with depth above the SUM(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073812 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: depth, reading, lat, unit
Sensor: uv_index | fields: ts, value, type, lat
Task: Retrieve level from frost with reading above the MAX(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073813 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: ts, type, lat, depth
Sensor: wind_speed | fields: type, lon, depth, lat
Task: Get value from pressure where ts appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073814 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: level, depth, value, unit
Sensor: soil_moisture | fields: level, unit, ts, reading
Task: Fetch lon from wind_speed where type exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073815 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, qc, depth, type
Sensor: rainfall | fields: level, depth, qc, reading
Task: Fetch reading from uv_index where depth is greater than the maximum of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073816 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lat, type, level, reading
Sensor: visibility | fields: qc, reading, value, lat
Task: Fetch reading from frost that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073817 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: level, qc, value, lat
Sensor: lightning | fields: unit, lon, qc, value
Task: Retrieve lon from uv_index that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073818 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: reading, value, lon, qc
Sensor: sunlight | fields: reading, level, depth, qc
Task: Get depth from air_quality where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073819 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: unit, qc, depth, type
Sensor: pressure | fields: lon, value, lat, qc
Task: Fetch lon from temperature where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073820 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: depth, ts, level, lon
Sensor: soil_moisture | fields: depth, reading, lon, level
Task: Get level from uv_index where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073821 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: type, ts, unit, level
Sensor: pressure | fields: depth, unit, qc, level
Task: Retrieve reading from visibility that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073822 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lon, lat, depth, reading
Sensor: sunlight | fields: value, reading, level, depth
Task: Fetch lon from lightning where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073823 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: ts, unit, lat, qc
Sensor: uv_index | fields: level, unit, ts, reading
Task: Fetch lon from lightning where value is greater than the minimum of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073824 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lat, lon, ts, qc
Sensor: uv_index | fields: qc, unit, ts, type
Task: Get level from drought_index where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073825 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: value, lat, reading, qc
Sensor: frost | fields: ts, depth, reading, unit
Task: Fetch depth from air_quality where value is greater than the total of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073826 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, lat, unit, ts
Sensor: uv_index | fields: level, lon, type, depth
Task: Get value from temperature where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073827 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: type, level, lat, qc
Sensor: lightning | fields: lon, unit, reading, ts
Task: Fetch reading from visibility where reading is greater than the maximum of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073828 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: lat, ts, reading, unit
Sensor: soil_moisture | fields: value, lat, depth, qc
Task: Retrieve value from sunlight whose type is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073829 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, unit, lon, qc
Sensor: rainfall | fields: lat, reading, ts, value
Task: Get level from snow_depth where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073830 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, qc, reading, type
Sensor: temperature | fields: lon, depth, qc, value
Task: Fetch value from snow_depth where qc exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073831 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, lon, level, lat
Sensor: humidity | fields: ts, reading, lat, depth
Task: Retrieve lon from cloud_cover whose qc is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073832 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: ts, depth, lat, lon
Sensor: humidity | fields: ts, type, lat, unit
Task: Fetch level from frost where value is greater than the average of reading in humidity for matching ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073833 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, unit, lat, depth
Sensor: drought_index | fields: reading, depth, qc, unit
Task: Fetch depth from wind_speed that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"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_073834 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, qc, unit, value
Sensor: dew_point | fields: value, type, lon, lat
Task: Get level from turbidity where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073835 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, unit, value, qc
Sensor: evaporation | fields: qc, type, lat, reading
Task: Retrieve lat from turbidity with reading above the COUNT(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073836 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: level, ts, qc, type
Sensor: lightning | fields: value, depth, qc, ts
Task: Get depth from air_quality where value exceeds the minimum depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073837 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, type, unit, lat
Sensor: turbidity | fields: lon, level, value, lat
Task: Get lat from soil_moisture where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073838 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, type, unit, lon
Sensor: uv_index | fields: lat, reading, lon, ts
Task: Get lon from frost where ts appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073839 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: lat, lon, depth, type
Sensor: frost | fields: lat, unit, level, qc
Task: Retrieve lat from rainfall whose unit is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073840 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, value, qc, lat
Sensor: rainfall | fields: reading, unit, type, ts
Task: Retrieve lon from cloud_cover that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073841 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, qc, value, ts
Sensor: turbidity | fields: qc, depth, lat, level
Task: Get lat from cloud_cover where depth appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073842 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, type, depth, value
Sensor: uv_index | fields: ts, reading, unit, lat
Task: Fetch lon from dew_point that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073843 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: value, type, level, qc
Sensor: uv_index | fields: level, lat, ts, value
Task: Fetch lon from frost where reading is greater than the count of of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073844 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, qc, lat, reading
Sensor: snow_depth | fields: type, unit, lat, reading
Task: Fetch level from cloud_cover where value is greater than the count of of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073845 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: unit, ts, level, type
Sensor: dew_point | fields: type, level, value, lon
Task: Retrieve lat from lightning whose depth is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073846 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, level, type, ts
Sensor: humidity | fields: type, reading, lon, qc
Task: Retrieve lat from snow_depth whose qc is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073847 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: type, reading, lon, depth
Sensor: wind_speed | fields: reading, unit, depth, level
Task: Retrieve level from humidity with value above the MIN(depth) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073848 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: ts, type, value, reading
Sensor: wind_speed | fields: qc, type, lon, reading
Task: Retrieve lon from air_quality whose type is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073849 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: qc, reading, lon, type
Sensor: pressure | fields: ts, depth, level, lon
Task: Get reading from frost where depth appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073850 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, lat, level, ts
Sensor: turbidity | fields: lon, type, qc, ts
Task: Retrieve value from wind_speed whose ts is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073851 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: depth, type, lat, unit
Sensor: sunlight | fields: qc, level, lon, unit
Task: Fetch value from air_quality where value is greater than the count of of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073852 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, lat, unit, reading
Sensor: rainfall | fields: depth, lon, value, lat
Task: Retrieve level from cloud_cover with value above the MAX(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073853 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: reading, type, unit, ts
Sensor: temperature | fields: value, type, unit, ts
Task: Retrieve value from drought_index that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073854 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, lon, unit, value
Sensor: uv_index | fields: lon, lat, depth, value
Task: Retrieve level from wind_speed whose depth is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073855 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, reading, lon, unit
Sensor: uv_index | fields: lat, value, qc, type
Task: Get value from pressure where reading exceeds the total value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073856 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: type, depth, reading, lon
Sensor: dew_point | fields: unit, depth, qc, type
Task: Retrieve lon from pressure with depth above the AVG(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"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_073857 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, lon, value, ts
Sensor: snow_depth | fields: depth, level, value, reading
Task: Retrieve depth from cloud_cover that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073858 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: level, depth, value, reading
Sensor: wind_speed | fields: level, unit, qc, depth
Task: Retrieve lat from lightning with depth above the SUM(depth) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073859 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lat, reading, value, lon
Sensor: drought_index | fields: type, lat, depth, ts
Task: Fetch depth from evaporation where value is greater than the count of of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073860 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: qc, lat, reading, level
Sensor: visibility | fields: level, qc, lat, ts
Task: Retrieve lon from rainfall whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073861 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: unit, lon, qc, level
Sensor: frost | fields: level, reading, unit, lat
Task: Fetch value from turbidity that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073862 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lat, value, unit, depth
Sensor: evaporation | fields: value, depth, ts, qc
Task: Fetch lat from uv_index where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073863 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, lat, qc, reading
Sensor: cloud_cover | fields: value, level, unit, ts
Task: Retrieve value from wind_speed with reading above the AVG(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073864 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: type, qc, value, ts
Sensor: lightning | fields: qc, lon, unit, lat
Task: Get depth from uv_index where reading exceeds the average value from lightning for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073865 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, level, qc, reading
Sensor: sunlight | fields: unit, depth, lat, type
Task: Get lat from cloud_cover where unit appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073866 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: depth, reading, ts, lon
Sensor: turbidity | fields: type, lon, lat, value
Task: Retrieve reading from sunlight whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073867 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, lon, depth, lat
Sensor: dew_point | fields: lat, value, ts, depth
Task: Fetch lat from soil_moisture where reading is greater than the total of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073868 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lat, lon, type, level
Sensor: humidity | fields: lat, reading, level, qc
Task: Get value from uv_index where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073869 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, type, ts, depth
Sensor: visibility | fields: qc, depth, lon, ts
Task: Fetch lat from snow_depth that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073870 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, lat, unit, reading
Sensor: wind_speed | fields: level, ts, lon, depth
Task: Get value from frost where depth appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073871 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: unit, reading, type, depth
Sensor: rainfall | fields: qc, reading, depth, level
Task: Fetch reading from sunlight where type exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073872 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: level, lon, lat, unit
Sensor: uv_index | fields: level, value, type, reading
Task: Retrieve level from drought_index with reading above the MAX(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073873 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: ts, type, level, reading
Sensor: humidity | fields: reading, ts, lon, value
Task: Retrieve value from rainfall that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073874 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: value, qc, unit, ts
Sensor: snow_depth | fields: qc, level, value, depth
Task: Fetch lat from uv_index where ts exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073875 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: ts, lon, depth, level
Sensor: pressure | fields: type, unit, lat, lon
Task: Fetch level from lightning that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073876 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, unit, type, qc
Sensor: drought_index | fields: type, qc, lon, ts
Task: Retrieve lat from evaporation whose unit is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073877 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, type, unit, value
Sensor: lightning | fields: ts, value, depth, lon
Task: Get lon from soil_moisture where type appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073878 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, value, lon, level
Sensor: air_quality | fields: reading, lat, qc, type
Task: Retrieve reading from cloud_cover whose ts is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073879 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, level, reading, type
Sensor: air_quality | fields: unit, qc, level, depth
Task: Retrieve lon from cloud_cover with reading above the MAX(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073880 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, unit, level, type
Sensor: frost | fields: ts, depth, level, qc
Task: Fetch level from dew_point that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073881 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: value, qc, level, ts
Sensor: humidity | fields: lon, type, level, qc
Task: Fetch depth from air_quality that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073882 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: qc, lat, unit, ts
Sensor: humidity | fields: reading, type, lat, ts
Task: Retrieve level from evaporation that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073883 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, lat, lon, level
Sensor: wind_speed | fields: ts, type, qc, unit
Task: Get depth from snow_depth where depth appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073884 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: ts, qc, lat, depth
Sensor: visibility | fields: lon, type, value, lat
Task: Fetch lon from turbidity that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073885 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: qc, lat, type, reading
Sensor: visibility | fields: type, ts, value, depth
Task: Retrieve reading from drought_index that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073886 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: level, reading, lon, unit
Sensor: air_quality | fields: value, type, ts, lat
Task: Retrieve lon from evaporation with value above the COUNT(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073887 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, unit, lat, depth
Sensor: air_quality | fields: unit, lat, level, qc
Task: Retrieve value from snow_depth that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073888 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: reading, lon, ts, qc
Sensor: evaporation | fields: value, ts, reading, lon
Task: Fetch value from temperature where depth is greater than the maximum of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073889 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: reading, ts, type, unit
Sensor: humidity | fields: reading, type, ts, level
Task: Retrieve value from temperature with value above the AVG(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073890 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, unit, qc, level
Sensor: drought_index | fields: lon, reading, ts, level
Task: Get depth from dew_point where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073891 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, reading, lon, lat
Sensor: soil_moisture | fields: depth, reading, lat, unit
Task: Retrieve level from frost with reading above the MAX(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073892 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, reading, lon, qc
Sensor: evaporation | fields: type, depth, value, lat
Task: Retrieve level from cloud_cover that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073893 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: value, reading, qc, depth
Sensor: uv_index | fields: level, qc, lat, unit
Task: Get lat from drought_index where value exceeds the total depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073894 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, reading, unit, value
Sensor: evaporation | fields: depth, level, unit, reading
Task: Get depth from soil_moisture where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073895 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, ts, unit, depth
Sensor: evaporation | fields: unit, value, ts, lat
Task: Fetch lon from temperature where ts exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073896 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: reading, ts, value, depth
Sensor: lightning | fields: reading, depth, lon, ts
Task: Get depth from humidity where depth exceeds the minimum reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073897 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: unit, lat, qc, value
Sensor: visibility | fields: lon, ts, type, unit
Task: Get reading from evaporation where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073898 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, type, level, ts
Sensor: lightning | fields: lat, ts, depth, type
Task: Get value from air_quality where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.