variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: visibility | code: ref | fields: qc, unit, lat, lon
Sensor: air_quality | fields: type, lat, ts, reading
Task: Fetch value from visibility where unit exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007600 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, lon, reading, level
Sensor: frost | fields: level, value, lon, qc
Task: Fetch reading from wind_speed that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007601 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, lat, reading, ts
Sensor: humidity | fields: value, unit, qc, depth
Task: Fetch level from lightning where depth exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007602 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: type, ts, depth, value
Sensor: rainfall | fields: qc, reading, level, type
Task: Get lon from visibility where qc appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007603 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: value, lon, lat, ts
Sensor: turbidity | fields: reading, ts, level, unit
Task: Fetch reading from wind_speed that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007604 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: unit, value, lon, level
Sensor: cloud_cover | fields: type, unit, qc, level
Task: Retrieve reading from rainfall that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007605 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: level, lon, reading, value
Sensor: dew_point | fields: level, type, lon, depth
Task: Fetch lat from evaporation where qc exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007606 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, lon, reading, ts
Sensor: visibility | fields: qc, lon, value, type
Task: Retrieve depth from air_quality that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007607 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: reading, value, ts, unit
Sensor: cloud_cover | fields: value, lon, qc, depth
Task: Retrieve lon from humidity with depth above the SUM(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007608 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, unit, reading, lon
Sensor: uv_index | fields: lat, ts, qc, type
Task: Fetch value from soil_moisture where depth is greater than the average of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007609 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, ts, lon, lat
Sensor: uv_index | fields: depth, lat, value, qc
Task: Get level from rainfall where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007610 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: level, type, qc, depth
Sensor: pressure | fields: value, depth, lat, reading
Task: Get depth from wind_speed where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007611 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, lon, unit, level
Sensor: dew_point | fields: ts, level, type, unit
Task: Retrieve reading from visibility that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007612 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, value, qc, reading
Sensor: lightning | fields: lon, unit, qc, level
Task: Get lon from rainfall where depth exceeds the maximum reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007613 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: type, unit, lat, ts
Sensor: pressure | fields: lon, type, level, ts
Task: Retrieve reading from lightning that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007614 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lon, qc, level, lat
Sensor: humidity | fields: lat, level, ts, lon
Task: Get level from temperature where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007615 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: value, lon, lat, reading
Sensor: snow_depth | fields: ts, value, depth, type
Task: Get lon from humidity where reading exceeds the minimum value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007616 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, lat, ts, type
Sensor: humidity | fields: lon, lat, reading, depth
Task: Get lon from wind_speed where depth exceeds the count of depth from humidity for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007617 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, value, depth, level
Sensor: lightning | fields: reading, lon, level, qc
Task: Retrieve depth from cloud_cover whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007618 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: reading, qc, ts, depth
Sensor: pressure | fields: value, reading, qc, type
Task: Get level from turbidity where unit appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007619 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: value, depth, unit, qc
Sensor: snow_depth | fields: lon, type, reading, value
Task: Get lon from dew_point where value exceeds the total reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007620 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: unit, level, type, depth
Sensor: cloud_cover | fields: value, unit, lat, qc
Task: Fetch level from sunlight where qc exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007621 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: unit, value, depth, ts
Sensor: pressure | fields: reading, type, depth, ts
Task: Fetch lat from sunlight where ts exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007622 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lat, reading, type, unit
Sensor: soil_moisture | fields: ts, value, depth, level
Task: Fetch reading from uv_index where value is greater than the average of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007623 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, depth, reading, qc
Sensor: uv_index | fields: type, lon, depth, qc
Task: Retrieve reading from air_quality that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007624 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, type, qc, lon
Sensor: humidity | fields: depth, lat, type, reading
Task: Fetch value from snow_depth that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007625 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, lat, level, type
Sensor: dew_point | fields: unit, level, lon, ts
Task: Fetch level from snow_depth where value is greater than the average of value in dew_point for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007626 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: value, type, lat, qc
Sensor: lightning | fields: level, ts, lon, type
Task: Fetch lon from air_quality where qc exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007627 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, lon, type, depth
Sensor: sunlight | fields: depth, lat, value, lon
Task: Get lat from snow_depth where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007628 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lon, ts, depth, level
Sensor: soil_moisture | fields: value, reading, qc, lat
Task: Get value from turbidity where value exceeds the count of reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007629 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: level, value, reading, unit
Sensor: temperature | fields: type, lat, unit, depth
Task: Retrieve reading from evaporation that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007630 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: depth, ts, lat, type
Sensor: frost | fields: reading, unit, lon, lat
Task: Fetch depth from sunlight that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007631 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: reading, value, ts, unit
Sensor: air_quality | fields: lon, type, ts, lat
Task: Fetch reading from lightning where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007632 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: level, lat, value, ts
Sensor: snow_depth | fields: unit, depth, qc, reading
Task: Retrieve reading from evaporation whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007633 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: value, unit, level, lat
Sensor: evaporation | fields: ts, unit, lon, type
Task: Retrieve lat from humidity whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007634 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: ts, type, value, lon
Sensor: drought_index | fields: unit, reading, value, type
Task: Retrieve depth from sunlight whose unit is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007635 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, unit, lat, value
Sensor: cloud_cover | fields: reading, qc, ts, lon
Task: Retrieve lon from soil_moisture that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007636 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, lon, reading, type
Sensor: cloud_cover | fields: value, type, depth, lon
Task: Get depth from soil_moisture where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007637 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lon, ts, qc, level
Sensor: frost | fields: unit, reading, level, lon
Task: Retrieve reading from turbidity whose depth is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007638 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lon, value, level, reading
Sensor: soil_moisture | fields: level, lat, qc, lon
Task: Retrieve lon from frost that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007639 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: value, type, qc, lon
Sensor: frost | fields: qc, type, lon, reading
Task: Retrieve depth from pressure that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007640 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: unit, ts, level, depth
Sensor: rainfall | fields: value, qc, reading, depth
Task: Retrieve lon from turbidity whose qc is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007641 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: value, unit, lat, lon
Sensor: soil_moisture | fields: type, reading, depth, value
Task: Fetch value from humidity where depth is greater than the minimum of value in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007642 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: unit, qc, ts, reading
Sensor: turbidity | fields: qc, unit, depth, type
Task: Retrieve reading from rainfall whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007643 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lat, depth, type, lon
Sensor: soil_moisture | fields: unit, qc, level, lon
Task: Fetch reading from air_quality that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007644 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: type, level, unit, ts
Sensor: evaporation | fields: lat, ts, unit, lon
Task: Get level from wind_speed where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007645 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: ts, lat, depth, reading
Sensor: snow_depth | fields: unit, ts, depth, type
Task: Fetch depth from sunlight where reading is greater than the maximum of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007646 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: level, type, qc, reading
Sensor: humidity | fields: depth, qc, reading, ts
Task: Fetch reading from lightning where ts exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007647 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, level, ts, type
Sensor: wind_speed | fields: depth, level, unit, type
Task: Fetch lon from soil_moisture where qc exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007648 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, lon, qc, level
Sensor: uv_index | fields: qc, lon, level, type
Task: Fetch level from evaporation where depth is greater than the minimum of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007649 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: value, depth, level, ts
Sensor: wind_speed | fields: lon, depth, unit, level
Task: Fetch level from frost that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007650 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, lat, level, depth
Sensor: pressure | fields: type, depth, value, qc
Task: Fetch level from drought_index where value is greater than the count of of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007651 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: level, value, lat, ts
Sensor: temperature | fields: value, depth, type, qc
Task: Fetch value from drought_index where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007652 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: type, value, level, lat
Sensor: rainfall | fields: depth, qc, ts, level
Task: Get level from sunlight where type appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007653 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: unit, reading, qc, type
Sensor: drought_index | fields: lon, unit, depth, value
Task: Fetch value from temperature that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007654 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: level, reading, type, depth
Sensor: air_quality | fields: type, value, lat, lon
Task: Get lon from evaporation where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007655 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lon, unit, depth, type
Sensor: pressure | fields: level, value, type, qc
Task: Fetch lon from air_quality where reading is greater than the total of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007656 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: unit, level, ts, depth
Sensor: humidity | fields: reading, unit, lon, ts
Task: Retrieve reading from sunlight that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007657 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, qc, reading, lon
Sensor: frost | fields: ts, qc, value, lat
Task: Get reading from temperature where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007658 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: value, level, lat, lon
Sensor: pressure | fields: value, qc, unit, ts
Task: Get level from turbidity where qc appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007659 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, level, lon, lat
Sensor: evaporation | fields: level, lat, value, ts
Task: Retrieve depth from frost with value above the AVG(depth) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007660 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: qc, unit, ts, type
Sensor: temperature | fields: value, level, depth, qc
Task: Get depth from rainfall where depth appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007661 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: ts, lon, qc, lat
Sensor: humidity | fields: lon, level, value, depth
Task: Get level from turbidity where reading exceeds the minimum reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007662 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: unit, qc, level, type
Sensor: pressure | fields: lon, value, ts, level
Task: Retrieve value from dew_point that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007663 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: unit, lat, value, qc
Sensor: pressure | fields: qc, level, value, lat
Task: Fetch level from visibility that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007664 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: depth, ts, unit, value
Sensor: lightning | fields: unit, lat, value, qc
Task: Get depth from evaporation where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007665 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: unit, reading, type, qc
Sensor: frost | fields: qc, depth, lat, type
Task: Retrieve lat from air_quality whose unit is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007666 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lon, qc, reading, level
Sensor: air_quality | fields: lon, depth, ts, qc
Task: Get depth from visibility where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007667 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: reading, level, lon, unit
Sensor: frost | fields: depth, ts, qc, lat
Task: Fetch depth from evaporation where reading is greater than the maximum of reading in frost for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007668 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: level, type, depth, ts
Sensor: uv_index | fields: value, qc, depth, lon
Task: Fetch lon from rainfall where ts exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007669 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lat, type, reading, ts
Sensor: sunlight | fields: depth, lat, level, type
Task: Get value from rainfall where value exceeds the maximum depth from sunlight for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007670 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: level, depth, type, ts
Sensor: frost | fields: level, value, unit, ts
Task: Get lon from visibility where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007671 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, level, ts, unit
Sensor: humidity | fields: qc, level, depth, type
Task: Retrieve lat from cloud_cover with value above the AVG(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007672 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: value, depth, unit, qc
Sensor: lightning | fields: unit, lon, lat, ts
Task: Fetch lat from pressure that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007673 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: lat, level, value, unit
Sensor: soil_moisture | fields: reading, lat, value, unit
Task: Get depth from humidity where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007674 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: ts, lat, value, qc
Sensor: wind_speed | fields: reading, qc, lat, level
Task: Fetch lat from turbidity where value is greater than the average of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007675 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, qc, reading, level
Sensor: pressure | fields: ts, lat, type, depth
Task: Retrieve depth from cloud_cover with depth above the AVG(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007676 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: level, ts, qc, reading
Sensor: dew_point | fields: depth, value, unit, level
Task: Retrieve level from evaporation that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007677 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, ts, level, qc
Sensor: dew_point | fields: qc, lon, value, type
Task: Fetch level from soil_moisture that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007678 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, depth, lat, qc
Sensor: pressure | fields: lon, ts, lat, value
Task: Get reading from cloud_cover where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007679 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, value, reading, qc
Sensor: lightning | fields: level, lon, lat, ts
Task: Fetch depth from pressure where unit exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007680 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, reading, type, value
Sensor: humidity | fields: lon, depth, ts, unit
Task: Get value from visibility where qc appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007681 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: depth, ts, qc, value
Sensor: turbidity | fields: reading, ts, type, unit
Task: Retrieve lat from dew_point that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007682 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: ts, type, reading, lon
Sensor: dew_point | fields: lat, depth, level, unit
Task: Fetch reading from lightning where depth exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007683 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, ts, level, value
Sensor: humidity | fields: lat, level, reading, lon
Task: Retrieve depth from sunlight that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007684 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, ts, reading, value
Sensor: soil_moisture | fields: lon, unit, type, lat
Task: Get lat from snow_depth where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007685 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lon, type, unit, value
Sensor: lightning | fields: ts, lon, reading, lat
Task: Get reading from dew_point where ts appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007686 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, lon, reading, qc
Sensor: soil_moisture | fields: lat, type, value, unit
Task: Retrieve lon from wind_speed whose unit is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007687 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, lon, type, unit
Sensor: snow_depth | fields: reading, ts, unit, value
Task: Retrieve depth from pressure with depth above the SUM(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007688 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: qc, lon, type, depth
Sensor: drought_index | fields: type, lat, level, value
Task: Retrieve depth from pressure that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007689 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, reading, unit, type
Sensor: rainfall | fields: lat, unit, type, reading
Task: Get depth from evaporation where depth exceeds the total reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007690 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: level, ts, lon, lat
Sensor: humidity | fields: unit, depth, type, value
Task: Retrieve lat from lightning whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007691 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, qc, level, ts
Sensor: cloud_cover | fields: depth, ts, level, lat
Task: Get value from pressure where depth exceeds the average depth from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007692 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, type, lon, reading
Sensor: humidity | fields: ts, depth, reading, qc
Task: Retrieve reading from soil_moisture that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007693 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lat, lon, depth, value
Sensor: dew_point | fields: type, lat, reading, unit
Task: Fetch reading from drought_index that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007694 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, qc, ts, lon
Sensor: humidity | fields: value, ts, reading, lon
Task: Get lon from cloud_cover where reading exceeds the average value from humidity for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007695 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, value, ts, lat
Sensor: dew_point | fields: depth, qc, lat, lon
Task: Get value from snow_depth where reading exceeds the average depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007696 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lon, value, ts, level
Sensor: snow_depth | fields: level, value, lat, type
Task: Fetch reading from drought_index where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007697 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, qc, value, reading
Sensor: air_quality | fields: qc, value, lon, lat
Task: Fetch lon from visibility where reading is greater than the minimum of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007698 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: value, lat, level, reading
Sensor: drought_index | fields: reading, ts, lon, qc
Task: Get value from humidity where depth appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.