variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: frost | code: thr | fields: qc, lat, reading, level
Sensor: evaporation | fields: depth, lon, level, value
Task: Retrieve value from frost with depth above the COUNT(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"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_055000 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: level, reading, value, unit
Sensor: snow_depth | fields: level, ts, value, reading
Task: Fetch level from turbidity where value is greater than the minimum of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055001 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, type, lon, depth
Sensor: sunlight | fields: unit, qc, lon, level
Task: Fetch value from frost where reading is greater than the minimum of depth in sunlight for matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055002 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, unit, lon, lat
Sensor: temperature | fields: qc, lon, reading, level
Task: Retrieve value from soil_moisture with reading above the AVG(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055003 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: qc, reading, level, unit
Sensor: visibility | fields: lon, level, type, value
Task: Retrieve depth from drought_index whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055004 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lon, type, lat, reading
Sensor: lightning | fields: level, reading, lon, lat
Task: Get reading from air_quality where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055005 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: qc, type, depth, lat
Sensor: wind_speed | fields: level, lon, lat, qc
Task: Retrieve value from frost with value above the MIN(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055006 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, level, ts, lon
Sensor: dew_point | fields: qc, lon, unit, type
Task: Get reading from lightning where depth exceeds the total value from dew_point for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055007 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: qc, level, ts, reading
Sensor: turbidity | fields: reading, qc, level, value
Task: Retrieve depth from temperature with reading above the AVG(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055008 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, type, reading, depth
Sensor: turbidity | fields: lat, depth, unit, qc
Task: Fetch level from cloud_cover where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055009 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, value, lat, unit
Sensor: humidity | fields: reading, ts, lat, lon
Task: Get lat from air_quality where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055010 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, level, ts, reading
Sensor: sunlight | fields: ts, lon, lat, type
Task: Retrieve lon from frost with value above the MIN(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055011 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: reading, lon, unit, lat
Sensor: wind_speed | fields: type, depth, qc, lon
Task: Fetch depth from rainfall that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055012 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: type, unit, qc, depth
Sensor: temperature | fields: ts, level, unit, lat
Task: Get depth from pressure where depth exceeds the maximum reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055013 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, unit, lat, qc
Sensor: lightning | fields: value, lat, qc, ts
Task: Get lon from rainfall where depth exceeds the maximum reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055014 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: value, unit, ts, qc
Sensor: snow_depth | fields: value, type, ts, lon
Task: Retrieve lat from temperature with reading above the MAX(reading) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055015 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, ts, qc, level
Sensor: dew_point | fields: lon, lat, ts, level
Task: Fetch depth from soil_moisture where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055016 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, qc, depth, lon
Sensor: wind_speed | fields: ts, type, unit, reading
Task: Retrieve lon from soil_moisture with value above the AVG(reading) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055017 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, ts, lon, qc
Sensor: rainfall | fields: value, reading, qc, lon
Task: Retrieve lon from wind_speed whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055018 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: qc, reading, value, lon
Sensor: soil_moisture | fields: lon, qc, depth, level
Task: Get level from uv_index where depth appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055019 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: reading, depth, lon, ts
Sensor: uv_index | fields: depth, ts, lon, lat
Task: Get depth from lightning where reading exceeds the average depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055020 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, depth, level, value
Sensor: humidity | fields: qc, reading, unit, ts
Task: Fetch reading from cloud_cover that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055021 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, unit, lat, value
Sensor: uv_index | fields: depth, value, reading, level
Task: Fetch reading from temperature where depth is greater than the total of value in uv_index for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055022 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: level, lat, reading, lon
Sensor: soil_moisture | fields: type, reading, qc, depth
Task: Get depth from turbidity where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055023 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lat, reading, ts, depth
Sensor: temperature | fields: unit, ts, type, level
Task: Fetch reading from drought_index where value is greater than the minimum of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055024 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: value, unit, lat, depth
Sensor: rainfall | fields: unit, lon, reading, qc
Task: Get depth from drought_index where reading exceeds the minimum depth from rainfall for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055025 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: value, reading, depth, lon
Sensor: snow_depth | fields: lat, unit, ts, lon
Task: Retrieve depth from frost whose unit is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055026 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, unit, value, depth
Sensor: visibility | fields: qc, reading, type, lon
Task: Fetch value from wind_speed that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055027 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lat, lon, qc, level
Sensor: air_quality | fields: lon, level, qc, reading
Task: Get level from temperature where depth exceeds the maximum value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055028 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: reading, level, ts, type
Sensor: air_quality | fields: unit, value, reading, type
Task: Retrieve lon from rainfall whose unit is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055029 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: depth, value, reading, ts
Sensor: frost | fields: depth, qc, value, ts
Task: Retrieve depth from humidity that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055030 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, lat, level, depth
Sensor: temperature | fields: unit, reading, ts, qc
Task: Fetch lat from pressure that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055031 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lon, qc, ts, unit
Sensor: lightning | fields: type, depth, level, lon
Task: Get depth from turbidity where value exceeds the count of reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055032 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: value, qc, unit, level
Sensor: visibility | fields: reading, ts, lon, depth
Task: Fetch level from turbidity where depth is greater than the count of of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055033 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: qc, depth, lat, level
Sensor: wind_speed | fields: lon, lat, reading, unit
Task: Retrieve reading from lightning with reading above the MIN(depth) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055034 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, lon, level, lat
Sensor: humidity | fields: level, ts, reading, qc
Task: Get lat from cloud_cover where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055035 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, type, ts, level
Sensor: dew_point | fields: ts, reading, value, unit
Task: Get reading from wind_speed where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055036 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lat, ts, type, qc
Sensor: visibility | fields: depth, lat, reading, value
Task: Retrieve level from evaporation with reading above the MAX(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055037 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, type, lon, level
Sensor: rainfall | fields: ts, type, reading, level
Task: Retrieve reading from snow_depth whose unit is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055038 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, type, reading, level
Sensor: pressure | fields: depth, ts, type, qc
Task: Fetch lat from soil_moisture where reading is greater than the maximum of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055039 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: qc, type, reading, level
Sensor: turbidity | fields: ts, depth, level, value
Task: Retrieve reading from evaporation whose unit is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055040 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: ts, value, depth, level
Sensor: rainfall | fields: lon, depth, type, reading
Task: Retrieve depth from frost that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055041 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lat, depth, qc, unit
Sensor: wind_speed | fields: level, lon, type, value
Task: Fetch lon from lightning where ts exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055042 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, type, lat, value
Sensor: pressure | fields: ts, lon, unit, reading
Task: Fetch reading from cloud_cover that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055043 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: unit, reading, type, value
Sensor: soil_moisture | fields: reading, level, unit, qc
Task: Retrieve lat from turbidity that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055044 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: level, value, type, depth
Sensor: soil_moisture | fields: qc, depth, lon, unit
Task: Get level from lightning where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055045 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: qc, ts, type, value
Sensor: snow_depth | fields: lat, level, qc, ts
Task: Get depth from dew_point where value exceeds the average depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"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_055046 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lat, qc, type, unit
Sensor: frost | fields: level, type, qc, lat
Task: Fetch reading from turbidity that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055047 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: reading, qc, ts, type
Sensor: turbidity | fields: lon, qc, reading, lat
Task: Retrieve lat from rainfall with reading above the AVG(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055048 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: ts, depth, qc, lon
Sensor: snow_depth | fields: ts, qc, type, unit
Task: Fetch level from humidity where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055049 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lon, depth, qc, type
Sensor: uv_index | fields: level, lat, unit, depth
Task: Retrieve lon from evaporation whose depth is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055050 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: unit, depth, level, lat
Sensor: soil_moisture | fields: depth, lon, qc, type
Task: Retrieve reading from uv_index with depth above the AVG(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055051 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: depth, unit, lat, value
Sensor: humidity | fields: ts, reading, level, lat
Task: Retrieve level from sunlight with reading above the AVG(reading) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055052 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, level, depth, value
Sensor: drought_index | fields: reading, unit, lat, qc
Task: Fetch lat from lightning where value is greater than the count of of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055053 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: reading, type, ts, lon
Sensor: frost | fields: type, ts, lat, reading
Task: Get lat from drought_index where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055054 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, value, lon, qc
Sensor: humidity | fields: reading, value, lon, lat
Task: Retrieve value from wind_speed with depth above the AVG(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055055 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: type, ts, unit, level
Sensor: lightning | fields: lat, reading, depth, lon
Task: Retrieve value from humidity that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055056 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, value, depth, lon
Sensor: turbidity | fields: value, depth, unit, ts
Task: Fetch lat from soil_moisture that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055057 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: value, ts, type, depth
Sensor: lightning | fields: type, unit, lon, level
Task: Get lat from humidity where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055058 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, level, ts, reading
Sensor: wind_speed | fields: value, qc, type, lat
Task: Get lat from soil_moisture where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055059 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: value, type, unit, lat
Sensor: lightning | fields: level, lat, ts, value
Task: Retrieve lat from temperature with value above the MIN(value) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055060 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, lon, ts, value
Sensor: uv_index | fields: lat, reading, unit, level
Task: Get lon from soil_moisture where value exceeds the minimum value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055061 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, unit, reading, lon
Sensor: pressure | fields: depth, lon, lat, value
Task: Fetch level from soil_moisture where qc exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055062 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lat, reading, lon, depth
Sensor: pressure | fields: unit, value, lon, lat
Task: Fetch depth from turbidity that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055063 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: type, ts, lon, qc
Sensor: turbidity | fields: reading, qc, level, value
Task: Fetch depth from temperature that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055064 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, reading, level, lon
Sensor: visibility | fields: unit, lat, qc, lon
Task: Retrieve value from frost whose qc is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055065 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: level, qc, depth, type
Sensor: cloud_cover | fields: value, type, unit, level
Task: Get lon from dew_point where reading exceeds the total value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055066 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, ts, qc, reading
Sensor: cloud_cover | fields: type, value, lon, reading
Task: Retrieve depth from pressure that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055067 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: lat, qc, depth, value
Sensor: uv_index | fields: unit, level, lat, depth
Task: Get value from drought_index where value exceeds the maximum value from uv_index for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055068 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: ts, lon, level, value
Sensor: wind_speed | fields: unit, lat, lon, depth
Task: Fetch value from humidity where reading is greater than the total of depth in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055069 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: type, qc, lon, reading
Sensor: dew_point | fields: value, lat, depth, ts
Task: Retrieve lat from frost with depth above the MIN(reading) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055070 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: qc, reading, level, unit
Sensor: dew_point | fields: unit, qc, lon, value
Task: Fetch level from lightning where depth exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055071 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: value, lon, lat, reading
Sensor: wind_speed | fields: qc, ts, lon, type
Task: Retrieve reading from temperature with reading above the AVG(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055072 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: reading, ts, lat, type
Sensor: temperature | fields: depth, qc, reading, lon
Task: Get depth from lightning where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055073 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, lon, lat, depth
Sensor: dew_point | fields: ts, depth, lat, lon
Task: Fetch level from wind_speed that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055074 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, level, ts, reading
Sensor: air_quality | fields: ts, depth, reading, value
Task: Retrieve level from pressure that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055075 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: qc, ts, lat, unit
Sensor: visibility | fields: value, type, lat, lon
Task: Get lon from rainfall where reading exceeds the maximum value from visibility for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055076 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lat, value, reading, lon
Sensor: visibility | fields: ts, qc, lat, value
Task: Retrieve depth from frost that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055077 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: depth, type, level, reading
Sensor: humidity | fields: ts, depth, reading, qc
Task: Get reading from sunlight where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055078 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: qc, depth, value, type
Sensor: drought_index | fields: level, depth, lat, unit
Task: Get value from sunlight where type appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055079 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, qc, type, level
Sensor: snow_depth | fields: depth, reading, value, qc
Task: Retrieve depth from cloud_cover whose ts is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055080 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: type, reading, level, lat
Sensor: wind_speed | fields: lat, ts, unit, qc
Task: Fetch value from dew_point where reading is greater than the maximum of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055081 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lat, lon, value, level
Sensor: snow_depth | fields: type, unit, ts, lat
Task: Fetch level from sunlight where depth exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055082 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, lon, depth, level
Sensor: wind_speed | fields: reading, level, lon, ts
Task: Fetch lon from drought_index where qc exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055083 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: type, level, ts, lat
Sensor: lightning | fields: qc, lon, type, unit
Task: Retrieve lon from sunlight whose unit is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055084 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: qc, lat, lon, type
Sensor: lightning | fields: lon, lat, ts, qc
Task: Fetch reading from evaporation where reading is greater than the average of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055085 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, value, depth, level
Sensor: humidity | fields: qc, ts, type, level
Task: Get level from pressure where depth exceeds the maximum value from humidity for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055086 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: level, lon, reading, ts
Sensor: humidity | fields: ts, unit, reading, lat
Task: Get depth from dew_point where qc appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055087 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: reading, value, qc, ts
Sensor: drought_index | fields: type, lon, lat, ts
Task: Fetch lon from air_quality where reading is greater than the count of of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055088 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: unit, type, ts, reading
Sensor: pressure | fields: value, ts, level, lat
Task: Retrieve value from frost that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055089 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: depth, level, type, reading
Sensor: frost | fields: depth, unit, type, level
Task: Fetch lon from turbidity where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055090 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: value, reading, type, level
Sensor: soil_moisture | fields: type, lon, qc, ts
Task: Get reading from frost where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055091 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: reading, qc, depth, lat
Sensor: soil_moisture | fields: ts, qc, level, lon
Task: Retrieve reading from drought_index that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055092 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: depth, reading, unit, ts
Sensor: humidity | fields: unit, value, level, lat
Task: Fetch reading from rainfall where depth exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055093 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, lon, reading, type
Sensor: humidity | fields: depth, unit, type, level
Task: Retrieve lat from snow_depth with depth above the AVG(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055094 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: ts, lat, unit, depth
Sensor: drought_index | fields: ts, value, unit, depth
Task: Get lon from rainfall where depth appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055095 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lon, ts, reading, level
Sensor: drought_index | fields: reading, lon, unit, depth
Task: Get level from uv_index where depth exceeds the minimum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055096 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: reading, level, lat, lon
Sensor: wind_speed | fields: reading, qc, lat, value
Task: Get value from frost where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055097 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, ts, unit, lon
Sensor: air_quality | fields: unit, value, ts, reading
Task: Get lon from soil_moisture where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055098 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: level, lat, qc, value
Sensor: dew_point | fields: ts, unit, value, reading
Task: Fetch value from snow_depth that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.