variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lat, lon, reading, unit
Sensor: air_quality | fields: ts, type, level, depth
Task: Retrieve level from turbidity that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006000 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: unit, ts, qc, level
Sensor: snow_depth | fields: unit, value, level, ts
Task: Fetch lat from uv_index that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006001 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: ts, reading, lat, unit
Sensor: lightning | fields: level, lat, reading, unit
Task: Fetch depth from temperature that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006002 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, level, depth, value
Sensor: lightning | fields: ts, reading, qc, depth
Task: Retrieve lon from soil_moisture whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006003 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, qc, unit, type
Sensor: pressure | fields: lon, lat, unit, level
Task: Retrieve reading from cloud_cover that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006004 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lon, reading, type, qc
Sensor: dew_point | fields: level, type, qc, depth
Task: Fetch value from temperature where reading is greater than the count of of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006005 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, type, value, lon
Sensor: sunlight | fields: ts, value, qc, lon
Task: Retrieve reading from snow_depth with value above the AVG(value) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006006 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, depth, lon, level
Sensor: rainfall | fields: ts, reading, unit, lat
Task: Fetch reading from uv_index where depth is greater than the maximum of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006007 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: depth, lon, type, lat
Sensor: humidity | fields: value, type, reading, depth
Task: Retrieve reading from temperature with depth above the SUM(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006008 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: value, depth, ts, level
Sensor: dew_point | fields: unit, type, depth, lat
Task: Retrieve depth from drought_index that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006009 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: unit, lat, value, depth
Sensor: wind_speed | fields: ts, unit, qc, type
Task: Retrieve lon from humidity whose ts is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006010 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: reading, value, qc, type
Sensor: humidity | fields: reading, lat, lon, unit
Task: Get lat from pressure where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006011 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, ts, type, lat
Sensor: sunlight | fields: type, qc, reading, depth
Task: Fetch depth from dew_point where ts exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006012 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: ts, unit, reading, level
Sensor: rainfall | fields: reading, unit, lon, qc
Task: Fetch value from turbidity where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006013 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: qc, reading, depth, type
Sensor: rainfall | fields: ts, qc, depth, type
Task: Fetch level from drought_index where reading is greater than the total of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006014 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, qc, type, ts
Sensor: rainfall | fields: unit, reading, type, qc
Task: Retrieve level from lightning that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006015 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, value, lon, lat
Sensor: humidity | fields: unit, type, qc, lon
Task: Get level from soil_moisture where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006016 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: unit, level, qc, depth
Sensor: pressure | fields: level, depth, lon, qc
Task: Fetch lon from rainfall where reading is greater than the minimum of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006017 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: qc, lon, type, ts
Sensor: pressure | fields: ts, value, unit, reading
Task: Get value from temperature where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006018 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, unit, value, reading
Sensor: rainfall | fields: lat, qc, ts, level
Task: Retrieve level from snow_depth with depth above the SUM(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006019 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: unit, lon, ts, type
Sensor: pressure | fields: level, lon, lat, unit
Task: Retrieve level from turbidity that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006020 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: ts, level, type, lon
Sensor: turbidity | fields: lon, depth, type, unit
Task: Get lat from pressure where depth exceeds the maximum depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006021 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: depth, lon, unit, ts
Sensor: humidity | fields: value, ts, reading, depth
Task: Get lon from frost where value exceeds the count of reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006022 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: reading, depth, ts, lon
Sensor: temperature | fields: depth, type, lon, reading
Task: Get depth from evaporation where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006023 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lat, value, type, lon
Sensor: humidity | fields: type, lat, unit, reading
Task: Get depth from uv_index where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006024 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: value, level, ts, depth
Sensor: humidity | fields: reading, ts, level, value
Task: Get reading from rainfall where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006025 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: reading, qc, level, lon
Sensor: wind_speed | fields: level, reading, depth, unit
Task: Retrieve lon from sunlight whose depth is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006026 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: level, type, qc, reading
Sensor: uv_index | fields: level, unit, ts, reading
Task: Get level from dew_point where value exceeds the minimum value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006027 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, ts, lat, value
Sensor: rainfall | fields: lat, depth, qc, value
Task: Get reading from drought_index where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006028 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lon, value, ts, level
Sensor: snow_depth | fields: unit, reading, value, lon
Task: Retrieve level from temperature with reading above the MAX(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006029 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, level, reading, type
Sensor: humidity | fields: unit, lon, level, reading
Task: Get reading from air_quality where depth exceeds the count of depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006030 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lon, depth, lat, type
Sensor: cloud_cover | fields: lon, type, reading, unit
Task: Retrieve level from evaporation whose ts is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006031 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: value, level, unit, type
Sensor: frost | fields: reading, lat, lon, ts
Task: Get reading from humidity where depth exceeds the total reading from frost for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006032 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lat, ts, unit, depth
Sensor: wind_speed | fields: ts, level, reading, depth
Task: Fetch level from humidity where depth is greater than the minimum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006033 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, lon, value, qc
Sensor: pressure | fields: type, unit, depth, qc
Task: Retrieve level from cloud_cover whose depth is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006034 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: reading, lon, level, lat
Sensor: drought_index | fields: type, unit, qc, ts
Task: Fetch lon from temperature where value is greater than the average of depth in drought_index for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006035 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: type, value, unit, level
Sensor: soil_moisture | fields: value, qc, lat, type
Task: Fetch reading from uv_index that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006036 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: type, depth, level, value
Sensor: snow_depth | fields: type, level, value, ts
Task: Fetch depth from visibility where depth exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006037 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, reading, lat, lon
Sensor: frost | fields: unit, value, depth, level
Task: Retrieve depth from soil_moisture with depth above the AVG(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006038 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, type, value, lat
Sensor: humidity | fields: unit, value, reading, qc
Task: Fetch level from visibility where value is greater than the minimum of depth in humidity for matching type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006039 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: unit, type, qc, depth
Sensor: pressure | fields: lat, depth, type, ts
Task: Retrieve value from drought_index whose qc is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006040 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, lon, unit, ts
Sensor: uv_index | fields: ts, unit, lon, depth
Task: Fetch level from soil_moisture where reading is greater than the minimum of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006041 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, lon, depth, ts
Sensor: uv_index | fields: depth, value, type, level
Task: Retrieve lat from pressure that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006042 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: value, lat, qc, depth
Sensor: temperature | fields: ts, unit, value, reading
Task: Get lon from humidity where depth exceeds the minimum value from temperature for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006043 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: depth, value, level, reading
Sensor: uv_index | fields: depth, lat, reading, value
Task: Retrieve lon from sunlight whose qc is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006044 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: level, value, lon, qc
Sensor: soil_moisture | fields: lon, depth, reading, qc
Task: Fetch reading from humidity where reading is greater than the minimum of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006045 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: ts, type, qc, level
Sensor: uv_index | fields: lon, unit, lat, value
Task: Fetch level from evaporation where depth exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006046 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lat, unit, depth, type
Sensor: evaporation | fields: lat, qc, type, depth
Task: Get lat from lightning where depth exceeds the count of depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006047 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: value, qc, ts, unit
Sensor: soil_moisture | fields: type, qc, ts, value
Task: Retrieve lon from visibility that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006048 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: level, depth, ts, unit
Sensor: rainfall | fields: lat, type, unit, lon
Task: Fetch value from frost that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006049 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: unit, qc, ts, lon
Sensor: drought_index | fields: lon, reading, lat, type
Task: Fetch depth from dew_point that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006050 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, lon, qc, ts
Sensor: turbidity | fields: qc, unit, reading, value
Task: Get reading from soil_moisture where unit appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006051 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: depth, level, qc, unit
Sensor: cloud_cover | fields: type, value, lat, depth
Task: Fetch level from drought_index where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006052 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: qc, depth, level, value
Sensor: uv_index | fields: lat, reading, level, qc
Task: Get reading from lightning where depth exceeds the maximum depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006053 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, lat, value, depth
Sensor: drought_index | fields: type, qc, lat, level
Task: Retrieve level from soil_moisture with depth above the MAX(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006054 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, level, reading, value
Sensor: uv_index | fields: ts, value, reading, type
Task: Get reading from temperature where ts appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006055 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lat, value, reading, type
Sensor: soil_moisture | fields: reading, lon, type, level
Task: Retrieve lat from dew_point with value above the AVG(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006056 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: value, lon, type, depth
Sensor: frost | fields: lon, unit, type, value
Task: Fetch depth from visibility where type exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006057 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, qc, value, depth
Sensor: drought_index | fields: value, lat, unit, ts
Task: Get reading from air_quality where depth appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006058 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: unit, qc, value, ts
Sensor: wind_speed | fields: level, value, ts, unit
Task: Get depth from rainfall where value exceeds the total value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006059 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, type, lat, depth
Sensor: snow_depth | fields: depth, lat, value, level
Task: Retrieve reading from sunlight whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006060 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: value, ts, reading, lon
Sensor: humidity | fields: type, lat, level, qc
Task: Retrieve level from frost with reading above the COUNT(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006061 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: level, lon, lat, depth
Sensor: dew_point | fields: ts, qc, level, depth
Task: Fetch level from rainfall that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006062 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: ts, qc, value, lat
Sensor: sunlight | fields: depth, ts, value, qc
Task: Retrieve lat from frost whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006063 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, qc, reading, unit
Sensor: drought_index | fields: depth, lon, unit, ts
Task: Get level from snow_depth where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006064 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: type, level, lat, ts
Sensor: cloud_cover | fields: lon, unit, lat, value
Task: Fetch reading from pressure where unit exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006065 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lat, reading, qc, level
Sensor: humidity | fields: qc, lon, ts, reading
Task: Retrieve value from visibility that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006066 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, value, unit, level
Sensor: visibility | fields: depth, level, type, qc
Task: Fetch lon from soil_moisture where unit exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006067 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: level, value, reading, qc
Sensor: drought_index | fields: type, level, qc, unit
Task: Get level from uv_index where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006068 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: reading, qc, lat, type
Sensor: wind_speed | fields: qc, type, ts, unit
Task: Fetch lat from air_quality where reading is greater than the maximum of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006069 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: level, ts, lat, lon
Sensor: sunlight | fields: lon, level, unit, lat
Task: Fetch level from dew_point that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006070 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, value, reading, qc
Sensor: pressure | fields: value, type, lat, lon
Task: Fetch level from wind_speed where unit exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006071 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, value, level, lon
Sensor: cloud_cover | fields: lat, qc, ts, type
Task: Get level from soil_moisture where depth exceeds the count of reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006072 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lat, depth, type, level
Sensor: evaporation | fields: lat, depth, qc, value
Task: Retrieve depth from frost that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006073 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lat, reading, unit, ts
Sensor: visibility | fields: value, type, unit, ts
Task: Get lat from turbidity where qc appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006074 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lat, depth, unit, qc
Sensor: rainfall | fields: lon, depth, type, lat
Task: Fetch lon from pressure where value is greater than the count of of reading in rainfall for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006075 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, type, depth, unit
Sensor: turbidity | fields: unit, depth, lon, type
Task: Retrieve lon from pressure that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006076 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: unit, ts, type, lat
Sensor: dew_point | fields: lat, qc, unit, reading
Task: Fetch reading from drought_index where depth is greater than the total of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006077 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, unit, reading, qc
Sensor: air_quality | fields: depth, reading, type, ts
Task: Retrieve level from cloud_cover whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006078 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: qc, level, depth, lat
Sensor: wind_speed | fields: type, qc, unit, value
Task: Fetch lon from humidity where depth exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006079 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: unit, ts, level, depth
Sensor: temperature | fields: reading, value, unit, depth
Task: Get lat from dew_point where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006080 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: value, level, lon, type
Sensor: dew_point | fields: type, depth, unit, qc
Task: Get lat from rainfall where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006081 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: ts, qc, unit, depth
Sensor: pressure | fields: type, reading, qc, level
Task: Retrieve lon from turbidity whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006082 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: value, type, unit, ts
Sensor: lightning | fields: qc, lat, type, ts
Task: Get value from rainfall where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006083 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: value, ts, type, qc
Sensor: turbidity | fields: ts, lon, value, reading
Task: Retrieve lon from pressure that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006084 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: depth, level, lon, unit
Sensor: rainfall | fields: lon, type, unit, ts
Task: Retrieve level from drought_index whose type is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006085 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: type, lat, depth, reading
Sensor: uv_index | fields: ts, value, lat, unit
Task: Get lat from turbidity where value exceeds the maximum depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006086 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: unit, depth, ts, lat
Sensor: lightning | fields: unit, reading, level, depth
Task: Get lat from temperature where depth exceeds the average value from lightning for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006087 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, reading, ts, value
Sensor: lightning | fields: lat, type, lon, value
Task: Get lon from pressure where type appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006088 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: type, depth, ts, lat
Sensor: drought_index | fields: lon, ts, reading, unit
Task: Retrieve lon from turbidity whose type is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006089 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: unit, lon, ts, depth
Sensor: rainfall | fields: unit, type, qc, lat
Task: Get lon from turbidity where unit appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006090 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: reading, unit, lon, level
Sensor: evaporation | fields: reading, level, value, lat
Task: Retrieve lat from uv_index that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006091 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: value, depth, lon, unit
Sensor: drought_index | fields: value, unit, qc, level
Task: Get value from temperature where value exceeds the maximum value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006092 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lon, ts, unit, reading
Sensor: snow_depth | fields: qc, ts, level, unit
Task: Fetch lat from humidity where ts exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006093 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lon, unit, reading, depth
Sensor: air_quality | fields: qc, level, reading, lat
Task: Get lat from frost where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006094 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: depth, lat, value, lon
Sensor: turbidity | fields: value, reading, lat, unit
Task: Fetch level from rainfall where depth exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006095 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, depth, lat, qc
Sensor: uv_index | fields: depth, lon, value, qc
Task: Fetch lon from wind_speed where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006096 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: reading, depth, unit, ts
Sensor: cloud_cover | fields: ts, reading, unit, lon
Task: Fetch reading from evaporation where reading is greater than the total of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006097 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: reading, qc, depth, lat
Sensor: soil_moisture | fields: depth, lat, qc, lon
Task: Retrieve level from rainfall whose type is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006098 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: level, depth, lon, type
Sensor: wind_speed | fields: type, value, lat, lon
Task: Get value from sunlight where type appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.