variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: pressure | code: hub | fields: ts, depth, type, value
Sensor: wind_speed | fields: lon, value, depth, unit
Task: Get lat from pressure where depth exceeds the maximum reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064800 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: level, depth, qc, unit
Sensor: drought_index | fields: lon, type, ts, reading
Task: Retrieve depth from turbidity with depth above the AVG(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064801 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: reading, depth, ts, lon
Sensor: drought_index | fields: qc, value, level, reading
Task: Fetch value from evaporation that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064802 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, depth, value, unit
Sensor: evaporation | fields: ts, lat, lon, qc
Task: Fetch reading from lightning where depth exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064803 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: type, qc, reading, unit
Sensor: dew_point | fields: lat, type, unit, level
Task: Get lon from visibility where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064804 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: type, value, qc, reading
Sensor: pressure | fields: level, type, reading, depth
Task: Retrieve lon from evaporation with reading above the AVG(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064805 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, qc, level, type
Sensor: snow_depth | fields: level, lon, type, unit
Task: Retrieve reading from visibility that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064806 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, lat, reading, lon
Sensor: wind_speed | fields: ts, type, qc, depth
Task: Retrieve lat from snow_depth whose unit is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064807 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: value, type, lon, reading
Sensor: drought_index | fields: depth, type, lon, lat
Task: Get reading from lightning where reading exceeds the count of reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064808 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, ts, type, value
Sensor: dew_point | fields: level, depth, unit, type
Task: Get level from temperature where reading exceeds the maximum reading from dew_point for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064809 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lon, reading, value, level
Sensor: humidity | fields: depth, unit, lat, reading
Task: Fetch value from frost where depth is greater than the minimum of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064810 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: level, unit, lon, type
Sensor: wind_speed | fields: unit, lon, type, depth
Task: Retrieve level from evaporation that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064811 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, lat, qc, ts
Sensor: evaporation | fields: type, depth, lon, qc
Task: Get lat from visibility where value exceeds the total reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064812 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, reading, lat, ts
Sensor: turbidity | fields: level, lat, ts, qc
Task: Fetch value from wind_speed where value is greater than the count of of depth in turbidity for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
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": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064813 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: value, qc, reading, lat
Sensor: uv_index | fields: lon, lat, qc, reading
Task: Fetch lat from turbidity where depth is greater than the average of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064814 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: value, lat, lon, type
Sensor: visibility | fields: lat, depth, level, reading
Task: Get lat from drought_index where depth exceeds the count of reading from visibility for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064815 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: ts, lat, qc, value
Sensor: visibility | fields: lat, reading, type, depth
Task: Retrieve lat from turbidity that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064816 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: qc, lon, level, type
Sensor: drought_index | fields: value, qc, depth, type
Task: Get depth from evaporation where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064817 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: ts, unit, lon, depth
Sensor: wind_speed | fields: value, depth, lat, ts
Task: Get lat from dew_point where value exceeds the count of value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064818 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, lon, qc, level
Sensor: rainfall | fields: qc, type, lat, level
Task: Get reading from lightning where depth exceeds the total reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064819 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lat, type, lon, reading
Sensor: humidity | fields: unit, type, lat, lon
Task: Retrieve reading from air_quality with reading above the COUNT(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"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_064820 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: qc, reading, ts, lon
Sensor: frost | fields: level, lon, lat, value
Task: Retrieve lat from rainfall whose depth is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064821 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: unit, qc, reading, value
Sensor: frost | fields: depth, unit, type, ts
Task: Retrieve level from lightning whose unit is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064822 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: ts, qc, lat, reading
Sensor: air_quality | fields: qc, lat, depth, type
Task: Fetch reading from evaporation where reading is greater than the average of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064823 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lat, value, level, unit
Sensor: pressure | fields: value, lon, level, qc
Task: Get reading from evaporation where qc appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064824 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lon, lat, value, reading
Sensor: turbidity | fields: ts, reading, lon, lat
Task: Retrieve reading from pressure whose qc is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064825 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, qc, level, reading
Sensor: pressure | fields: value, depth, lon, reading
Task: Fetch depth from wind_speed where type exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064826 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, value, lon, depth
Sensor: humidity | fields: reading, ts, qc, depth
Task: Get level from dew_point where value exceeds the count of value from humidity for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064827 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: ts, value, lon, reading
Sensor: turbidity | fields: type, ts, lon, lat
Task: Retrieve level from drought_index that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064828 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: ts, level, qc, reading
Sensor: sunlight | fields: level, value, ts, depth
Task: Get lat from drought_index where ts appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064829 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, reading, unit, lon
Sensor: sunlight | fields: lat, unit, ts, value
Task: Fetch lon from turbidity where depth is greater than the count of of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064830 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lon, depth, ts, value
Sensor: dew_point | fields: qc, unit, level, lon
Task: Fetch level from turbidity where unit exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064831 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: unit, qc, lat, level
Sensor: wind_speed | fields: unit, type, ts, level
Task: Retrieve lon from drought_index with value above the SUM(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064832 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, type, lat, reading
Sensor: cloud_cover | fields: value, lat, level, qc
Task: Fetch depth from turbidity where depth exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064833 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, lat, ts, lon
Sensor: drought_index | fields: lat, qc, level, lon
Task: Get reading from cloud_cover where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064834 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: level, unit, lon, type
Sensor: visibility | fields: lon, unit, qc, reading
Task: Fetch lat from lightning where unit exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064835 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: type, ts, unit, lat
Sensor: rainfall | fields: lon, reading, unit, value
Task: Fetch depth from evaporation where ts exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064836 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: value, reading, unit, type
Sensor: cloud_cover | fields: ts, value, depth, level
Task: Retrieve value from uv_index with reading above the MIN(value) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064837 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lon, ts, value, level
Sensor: rainfall | fields: qc, type, level, depth
Task: Fetch reading from uv_index that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"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_064838 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: type, value, lon, reading
Sensor: cloud_cover | fields: level, type, value, ts
Task: Retrieve value from drought_index with reading above the MAX(value) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064839 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: depth, type, value, lat
Sensor: sunlight | fields: type, reading, qc, lat
Task: Fetch value from evaporation where value is greater than the count of of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064840 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, depth, reading, unit
Sensor: rainfall | fields: value, level, qc, lat
Task: Fetch depth from turbidity that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064841 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: value, level, lon, reading
Sensor: evaporation | fields: value, depth, lon, type
Task: Get value from lightning where reading exceeds the average depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064842 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lon, qc, ts, unit
Sensor: pressure | fields: unit, reading, type, level
Task: Get lat from temperature where ts appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064843 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, level, depth, lat
Sensor: sunlight | fields: reading, qc, type, value
Task: Get reading from wind_speed where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064844 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: ts, reading, lon, qc
Sensor: frost | fields: depth, ts, lon, unit
Task: Fetch lon from dew_point where type exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064845 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: ts, reading, level, lat
Sensor: wind_speed | fields: ts, qc, reading, type
Task: Get lat from pressure where unit appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064846 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lon, type, ts, qc
Sensor: cloud_cover | fields: lon, value, type, depth
Task: Retrieve level from temperature whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064847 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, value, lon, ts
Sensor: snow_depth | fields: level, lon, qc, reading
Task: Get reading from turbidity where depth exceeds the average reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064848 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: type, level, qc, ts
Sensor: dew_point | fields: level, ts, reading, type
Task: Get depth from snow_depth where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064849 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: level, lat, reading, unit
Sensor: cloud_cover | fields: unit, value, reading, depth
Task: Retrieve value from lightning with depth above the AVG(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064850 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lat, reading, lon, depth
Sensor: frost | fields: reading, qc, type, lon
Task: Retrieve level from drought_index with value above the MIN(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064851 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, type, unit, reading
Sensor: drought_index | fields: qc, lon, depth, reading
Task: Fetch lat from wind_speed where reading is greater than the total of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064852 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: level, unit, depth, lon
Sensor: soil_moisture | fields: ts, unit, lat, lon
Task: Retrieve level from dew_point with depth above the MAX(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064853 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: value, lat, qc, ts
Sensor: snow_depth | fields: lon, level, value, depth
Task: Get depth from frost where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064854 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: depth, value, ts, lon
Sensor: temperature | fields: level, unit, depth, lon
Task: Fetch depth from pressure where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064855 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, lat, lon, reading
Sensor: uv_index | fields: qc, ts, lat, unit
Task: Fetch depth from soil_moisture where reading is greater than the average of depth in uv_index for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064856 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: level, ts, qc, value
Sensor: cloud_cover | fields: lat, lon, type, depth
Task: Retrieve value from lightning that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064857 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lon, value, ts, level
Sensor: uv_index | fields: qc, reading, ts, type
Task: Retrieve lat from lightning that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064858 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, unit, reading, depth
Sensor: lightning | fields: level, reading, lat, value
Task: Get reading from soil_moisture where reading exceeds the maximum value from lightning for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064859 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: level, unit, depth, lon
Sensor: soil_moisture | fields: level, lat, depth, unit
Task: Fetch lat from frost where unit exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064860 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, unit, value, type
Sensor: dew_point | fields: qc, type, value, reading
Task: Retrieve value from evaporation that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064861 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: level, type, lon, ts
Sensor: temperature | fields: level, depth, ts, qc
Task: Retrieve lat from turbidity with depth above the MAX(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064862 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, lat, reading, depth
Sensor: soil_moisture | fields: lon, depth, value, lat
Task: Get lon from visibility where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064863 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: qc, unit, reading, type
Sensor: drought_index | fields: lat, reading, value, qc
Task: Retrieve depth from pressure that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064864 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: value, depth, type, reading
Sensor: temperature | fields: depth, value, type, qc
Task: Retrieve lat from visibility that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064865 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: reading, lon, unit, depth
Sensor: air_quality | fields: ts, depth, value, qc
Task: Retrieve lon from lightning with depth above the COUNT(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064866 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, unit, ts, lat
Sensor: wind_speed | fields: level, reading, depth, qc
Task: Get reading from cloud_cover where depth exceeds the total reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064867 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, reading, value, qc
Sensor: sunlight | fields: depth, type, unit, level
Task: Get lat from temperature where reading exceeds the maximum value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064868 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, qc, lon, level
Sensor: dew_point | fields: lat, unit, depth, level
Task: Retrieve level from cloud_cover that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064869 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: reading, lon, depth, qc
Sensor: temperature | fields: lat, unit, level, type
Task: Get reading from uv_index where depth exceeds the count of reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064870 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, level, type, lon
Sensor: soil_moisture | fields: value, unit, level, lat
Task: Retrieve lat from cloud_cover whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064871 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: value, qc, level, type
Sensor: dew_point | fields: lat, level, lon, value
Task: Get lat from pressure where type appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064872 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: lon, qc, value, reading
Sensor: frost | fields: level, lat, depth, unit
Task: Get level from pressure where qc appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064873 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, lon, level, lat
Sensor: dew_point | fields: reading, unit, ts, depth
Task: Get reading from visibility where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064874 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: depth, unit, ts, type
Sensor: snow_depth | fields: reading, ts, type, unit
Task: Fetch depth from visibility where qc exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064875 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, unit, lat, qc
Sensor: visibility | fields: value, unit, level, qc
Task: Get reading from dew_point where ts appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064876 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, lat, unit, lon
Sensor: lightning | fields: depth, level, lon, qc
Task: Get reading from sunlight where reading exceeds the maximum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064877 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, level, depth, qc
Sensor: evaporation | fields: unit, lon, qc, lat
Task: Fetch lat from pressure that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064878 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: type, unit, value, ts
Sensor: temperature | fields: value, reading, level, unit
Task: Retrieve lon from turbidity that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064879 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: qc, lat, ts, depth
Sensor: frost | fields: unit, type, qc, reading
Task: Retrieve lat from rainfall whose qc is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064880 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, type, depth, unit
Sensor: evaporation | fields: unit, ts, lat, type
Task: Fetch reading from air_quality that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064881 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: qc, type, ts, lat
Sensor: uv_index | fields: unit, type, level, ts
Task: Get lat from frost where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064882 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, level, reading, ts
Sensor: uv_index | fields: lat, ts, type, lon
Task: Fetch lat from soil_moisture that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064883 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, unit, level, depth
Sensor: uv_index | fields: depth, qc, lon, type
Task: Retrieve reading from snow_depth that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064884 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: level, lon, unit, value
Sensor: rainfall | fields: ts, unit, value, lon
Task: Fetch level from pressure that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064885 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: level, unit, value, lon
Sensor: wind_speed | fields: type, lon, qc, unit
Task: Get lon from lightning where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064886 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: value, level, type, lat
Sensor: cloud_cover | fields: ts, level, qc, unit
Task: Get depth from visibility where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064887 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, reading, lon, qc
Sensor: drought_index | fields: level, type, depth, lon
Task: Fetch lon from humidity where depth is greater than the total of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064888 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, lat, lon, reading
Sensor: snow_depth | fields: lat, value, reading, type
Task: Fetch reading from evaporation where value is greater than the average of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064889 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: depth, unit, lon, type
Sensor: drought_index | fields: qc, lat, ts, value
Task: Retrieve level from evaporation whose qc is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064890 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: depth, value, ts, lat
Sensor: dew_point | fields: depth, lat, type, qc
Task: Retrieve lon from rainfall whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064891 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: type, ts, lon, qc
Sensor: frost | fields: qc, lat, type, value
Task: Get lat from sunlight where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064892 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: reading, type, lon, ts
Sensor: soil_moisture | fields: reading, lon, ts, level
Task: Retrieve level from turbidity that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064893 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: ts, type, qc, value
Sensor: drought_index | fields: ts, value, qc, lon
Task: Fetch value from humidity that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064894 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, ts, depth, value
Sensor: turbidity | fields: reading, lat, value, lon
Task: Fetch lat from cloud_cover where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064895 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, ts, level, unit
Sensor: pressure | fields: type, lon, unit, ts
Task: Retrieve depth from cloud_cover that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064896 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lon, level, lat, qc
Sensor: temperature | fields: value, ts, lon, qc
Task: Get value from drought_index where qc appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064897 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, type, level, value
Sensor: snow_depth | fields: unit, reading, type, value
Task: Retrieve level from evaporation that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064898 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: reading, unit, lat, ts
Sensor: humidity | fields: depth, qc, lat, ts
Task: Get reading from turbidity where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.