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: cloud_cover | code: hub | fields: reading, lon, level, value
Sensor: sunlight | fields: value, level, reading, lon
Task: Retrieve level from cloud_cover with depth above the SUM(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022000 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: unit, qc, lon, level
Sensor: rainfall | fields: qc, level, lon, type
Task: Fetch lat from turbidity that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022001 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: type, ts, level, qc
Sensor: soil_moisture | fields: qc, depth, unit, reading
Task: Fetch reading from uv_index where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022002 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, value, ts, depth
Sensor: uv_index | fields: type, qc, reading, ts
Task: Retrieve value from pressure with reading above the AVG(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"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_022003 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, qc, type, level
Sensor: pressure | fields: level, qc, lon, value
Task: Get depth from snow_depth where reading exceeds the minimum reading from pressure for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022004 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, reading, value, ts
Sensor: wind_speed | fields: lon, reading, type, depth
Task: Retrieve depth from soil_moisture that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022005 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: ts, unit, level, value
Sensor: sunlight | fields: type, lon, value, ts
Task: Fetch reading from pressure where reading is greater than the total of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022006 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: level, reading, lat, qc
Sensor: cloud_cover | fields: level, ts, depth, lon
Task: Get level from visibility where value exceeds the maximum value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022007 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: unit, lat, lon, value
Sensor: cloud_cover | fields: depth, ts, value, lat
Task: Get lon from lightning where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022008 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: unit, ts, level, reading
Sensor: pressure | fields: qc, depth, lon, reading
Task: Retrieve reading from drought_index with value above the MIN(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022009 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: depth, value, ts, type
Sensor: frost | fields: depth, ts, lon, qc
Task: Retrieve level from lightning that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022010 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, lon, qc, unit
Sensor: uv_index | fields: ts, type, value, lon
Task: Get depth from wind_speed where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022011 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: qc, value, level, reading
Sensor: dew_point | fields: level, unit, lon, lat
Task: Get lon from evaporation where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022012 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: depth, ts, qc, unit
Sensor: evaporation | fields: type, reading, qc, lon
Task: Retrieve depth from rainfall with reading above the MIN(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022013 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lon, value, type, ts
Sensor: turbidity | fields: value, qc, lon, reading
Task: Retrieve level from drought_index that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022014 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: qc, value, lat, level
Sensor: air_quality | fields: ts, lat, reading, value
Task: Get value from pressure where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022015 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: value, qc, ts, depth
Sensor: pressure | fields: lon, depth, level, reading
Task: Fetch reading from uv_index that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022016 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lat, value, type, lon
Sensor: snow_depth | fields: qc, depth, value, lat
Task: Get reading from frost where value exceeds the minimum depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022017 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, type, reading, depth
Sensor: rainfall | fields: lat, type, level, qc
Task: Fetch value from frost where ts exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022018 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: value, qc, lon, unit
Sensor: pressure | fields: unit, lat, reading, level
Task: Fetch lat from air_quality where value is greater than the count of of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022019 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: type, depth, reading, level
Sensor: dew_point | fields: value, level, qc, reading
Task: Fetch lat from turbidity where type exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022020 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: level, qc, lon, value
Sensor: lightning | fields: reading, lon, qc, value
Task: Get lat from visibility where qc appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022021 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, ts, type, reading
Sensor: rainfall | fields: lat, level, qc, depth
Task: Fetch lat from snow_depth that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022022 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: depth, reading, lon, type
Sensor: humidity | fields: unit, type, lon, value
Task: Retrieve value from visibility that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022023 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, ts, lat, type
Sensor: cloud_cover | fields: unit, depth, lat, type
Task: Get lon from soil_moisture where unit appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022024 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: ts, qc, depth, lon
Sensor: evaporation | fields: level, reading, unit, value
Task: Fetch value from sunlight where qc exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022025 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: ts, reading, qc, lon
Sensor: dew_point | fields: value, ts, lat, lon
Task: Retrieve lat from evaporation that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022026 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, level, type, ts
Sensor: temperature | fields: lon, ts, value, reading
Task: Fetch level from snow_depth where ts exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022027 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lon, reading, ts, unit
Sensor: lightning | fields: depth, level, reading, qc
Task: Retrieve value from evaporation with depth above the COUNT(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022028 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, type, depth, reading
Sensor: uv_index | fields: depth, value, level, lat
Task: Get level from visibility where ts appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022029 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: lon, lat, type, unit
Sensor: cloud_cover | fields: reading, type, lat, level
Task: Retrieve reading from sunlight with depth above the MAX(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022030 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: unit, lat, value, level
Sensor: temperature | fields: reading, lat, level, depth
Task: Retrieve value from drought_index with reading above the AVG(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022031 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, reading, level, ts
Sensor: turbidity | fields: depth, lat, type, reading
Task: Get value from temperature where ts appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022032 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: reading, ts, value, depth
Sensor: soil_moisture | fields: qc, ts, value, lat
Task: Fetch value from dew_point where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022033 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: ts, type, qc, lat
Sensor: turbidity | fields: ts, level, qc, reading
Task: Get lat from humidity where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022034 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: value, type, level, lon
Sensor: evaporation | fields: lat, level, depth, qc
Task: Get lat from temperature where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022035 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, lat, qc, value
Sensor: air_quality | fields: type, lat, depth, qc
Task: Get reading from lightning where unit appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022036 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: level, lon, type, reading
Sensor: pressure | fields: level, reading, lat, ts
Task: Fetch lon from sunlight that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022037 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, value, reading, lat
Sensor: temperature | fields: qc, depth, lon, level
Task: Retrieve depth from wind_speed whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022038 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: value, lon, lat, ts
Sensor: sunlight | fields: ts, level, value, type
Task: Retrieve level from dew_point that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022039 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, lon, unit, level
Sensor: humidity | fields: qc, ts, lon, level
Task: Get lon from wind_speed where type appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022040 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: reading, type, level, value
Sensor: soil_moisture | fields: qc, unit, ts, type
Task: Fetch lat from sunlight where depth exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022041 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, lon, type, depth
Sensor: air_quality | fields: lon, depth, lat, unit
Task: Retrieve lon from wind_speed with reading above the SUM(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022042 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lon, ts, lat, level
Sensor: turbidity | fields: ts, lat, lon, unit
Task: Fetch reading from visibility that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022043 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: type, ts, lon, qc
Sensor: turbidity | fields: reading, lon, type, ts
Task: Get value from uv_index where value exceeds the total depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022044 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: qc, depth, type, unit
Sensor: soil_moisture | fields: unit, type, depth, lon
Task: Get lon from drought_index where depth exceeds the count of value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022045 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lon, qc, value, level
Sensor: turbidity | fields: depth, lon, qc, unit
Task: Get reading from sunlight where unit appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022046 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: ts, lat, qc, value
Sensor: lightning | fields: ts, reading, value, qc
Task: Get lon from drought_index where depth exceeds the average depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022047 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, type, lat, depth
Sensor: snow_depth | fields: value, depth, unit, level
Task: Retrieve value from sunlight whose unit is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022048 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: ts, qc, unit, lat
Sensor: uv_index | fields: level, lon, ts, qc
Task: Retrieve depth from visibility with reading above the SUM(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022049 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: unit, ts, level, value
Sensor: rainfall | fields: depth, ts, unit, qc
Task: Retrieve value from frost with reading above the SUM(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022050 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: value, lat, level, depth
Sensor: frost | fields: depth, qc, unit, reading
Task: Retrieve reading from turbidity whose qc is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022051 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: type, depth, unit, ts
Sensor: temperature | fields: level, unit, qc, ts
Task: Fetch reading from evaporation where value is greater than the count of of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022052 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: depth, type, reading, lat
Sensor: wind_speed | fields: qc, unit, reading, lon
Task: Retrieve value from rainfall with depth above the AVG(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022053 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: ts, type, lon, lat
Sensor: wind_speed | fields: lon, ts, reading, depth
Task: Fetch lon from dew_point where value is greater than the total of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022054 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, level, lon, unit
Sensor: visibility | fields: unit, lon, qc, reading
Task: Fetch level from lightning where depth is greater than the count of of depth in visibility for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022055 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, depth, value, qc
Sensor: cloud_cover | fields: depth, value, lat, unit
Task: Get level from wind_speed where value exceeds the average value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022056 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, type, level, lat
Sensor: lightning | fields: depth, level, ts, qc
Task: Retrieve lon from soil_moisture that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022057 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: value, qc, type, ts
Sensor: lightning | fields: value, level, reading, ts
Task: Get reading from wind_speed where reading exceeds the minimum reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022058 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: qc, value, reading, lat
Sensor: humidity | fields: lon, lat, unit, qc
Task: Get lat from temperature where qc appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022059 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: reading, ts, value, depth
Sensor: cloud_cover | fields: type, ts, lat, reading
Task: Retrieve lat from rainfall that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022060 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lon, unit, depth, qc
Sensor: snow_depth | fields: depth, type, lon, ts
Task: Retrieve level from uv_index whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022061 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, depth, qc, reading
Sensor: drought_index | fields: reading, unit, type, ts
Task: Get lon from humidity where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022062 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: depth, ts, lat, reading
Sensor: lightning | fields: type, lon, ts, level
Task: Get lat from frost where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022063 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: ts, lon, level, type
Sensor: temperature | fields: lon, unit, lat, qc
Task: Get lat from lightning where unit appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022064 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: value, lat, depth, qc
Sensor: turbidity | fields: level, lat, value, lon
Task: Get reading from snow_depth where reading exceeds the average value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022065 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, ts, reading, qc
Sensor: frost | fields: lat, qc, type, lon
Task: Get reading from cloud_cover where type appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022066 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: ts, unit, lon, depth
Sensor: pressure | fields: type, unit, ts, level
Task: Retrieve level from air_quality whose depth is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022067 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: value, type, reading, qc
Sensor: visibility | fields: level, type, value, lat
Task: Retrieve depth from frost that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022068 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: value, level, type, qc
Sensor: drought_index | fields: depth, type, reading, ts
Task: Get lat from temperature where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022069 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: unit, lat, ts, qc
Sensor: temperature | fields: level, unit, depth, ts
Task: Retrieve level from rainfall with value above the SUM(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022070 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: unit, lat, lon, depth
Sensor: sunlight | fields: level, type, value, qc
Task: Fetch lon from temperature that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022071 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: qc, level, lon, lat
Sensor: snow_depth | fields: type, qc, level, reading
Task: Get value from pressure where reading exceeds the count of reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022072 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lat, type, depth, value
Sensor: air_quality | fields: ts, type, reading, value
Task: Fetch depth from turbidity that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022073 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, level, unit, lon
Sensor: soil_moisture | fields: qc, lat, lon, depth
Task: Get level from cloud_cover where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022074 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: value, level, lat, depth
Sensor: lightning | fields: type, reading, depth, qc
Task: Get reading from drought_index where type appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022075 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: unit, ts, lat, reading
Sensor: humidity | fields: lat, type, value, reading
Task: Fetch depth from frost where reading is greater than the average of depth in humidity for matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022076 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, lat, unit, type
Sensor: dew_point | fields: lon, reading, level, depth
Task: Fetch depth from air_quality where type exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022077 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: ts, unit, qc, lon
Sensor: sunlight | fields: level, unit, qc, value
Task: Retrieve lon from visibility with reading above the COUNT(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022078 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: type, unit, level, value
Sensor: pressure | fields: ts, unit, lat, value
Task: Fetch depth from sunlight where depth is greater than the count of of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022079 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: reading, qc, lat, level
Sensor: dew_point | fields: level, ts, lon, value
Task: Fetch level from pressure that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022080 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: ts, level, type, value
Sensor: air_quality | fields: lat, reading, type, unit
Task: Fetch depth from turbidity where unit exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022081 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: unit, ts, qc, lat
Sensor: cloud_cover | fields: depth, qc, lon, type
Task: Get lat from uv_index where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022082 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: type, reading, unit, depth
Sensor: temperature | fields: depth, level, ts, type
Task: Fetch reading from visibility that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022083 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lat, reading, qc, depth
Sensor: frost | fields: reading, level, lon, qc
Task: Retrieve value from turbidity with depth above the MIN(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022084 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, level, depth, qc
Sensor: uv_index | fields: qc, lat, unit, lon
Task: Retrieve lat from cloud_cover with reading above the MAX(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022085 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, depth, type, qc
Sensor: rainfall | fields: value, ts, qc, reading
Task: Fetch depth from frost where depth exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022086 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: unit, lon, type, level
Sensor: soil_moisture | fields: value, lon, unit, ts
Task: Fetch lat from pressure where unit exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022087 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: ts, level, type, depth
Sensor: soil_moisture | fields: reading, lat, ts, depth
Task: Get depth from visibility where depth exceeds the maximum depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022088 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: level, ts, type, lon
Sensor: temperature | fields: ts, lon, value, unit
Task: Fetch lon from wind_speed where qc exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022089 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, unit, depth, level
Sensor: rainfall | fields: lon, lat, reading, qc
Task: Retrieve lon from snow_depth whose ts is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022090 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, lon, reading, qc
Sensor: wind_speed | fields: lon, value, type, lat
Task: Get lon from cloud_cover where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022091 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: qc, lon, reading, depth
Sensor: dew_point | fields: qc, depth, level, reading
Task: Get lat from lightning where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022092 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, depth, type, ts
Sensor: cloud_cover | fields: ts, unit, lat, value
Task: Fetch lon from visibility where qc exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022093 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: value, type, ts, lat
Sensor: wind_speed | fields: reading, level, depth, value
Task: Fetch level from turbidity where qc exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022094 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lon, depth, qc, reading
Sensor: sunlight | fields: type, reading, lon, ts
Task: Get lon from drought_index where reading exceeds the maximum reading from sunlight for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022095 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lat, lon, unit, value
Sensor: frost | fields: qc, ts, type, unit
Task: Get value from pressure where depth exceeds the total depth from frost for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022096 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lat, depth, type, value
Sensor: temperature | fields: unit, reading, lon, lat
Task: Retrieve lat from drought_index with depth above the COUNT(value) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022097 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, value, lon, depth
Sensor: turbidity | fields: type, ts, level, unit
Task: Retrieve reading from rainfall whose type is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022098 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, value, lon, reading
Sensor: drought_index | fields: level, unit, ts, reading
Task: Retrieve level from temperature that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.