variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: humidity | code: hub | fields: reading, value, qc, type
Sensor: uv_index | fields: lon, depth, lat, unit
Task: Retrieve depth from humidity whose depth is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024500 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, reading, ts, type
Sensor: wind_speed | fields: qc, reading, value, ts
Task: Fetch depth from humidity that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024501 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: level, value, lon, reading
Sensor: humidity | fields: ts, unit, lon, reading
Task: Retrieve depth from evaporation with depth above the SUM(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024502 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: level, lat, unit, value
Sensor: lightning | fields: level, depth, lon, ts
Task: Fetch level from visibility that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024503 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: level, value, unit, type
Sensor: lightning | fields: level, unit, qc, lat
Task: Get level from evaporation where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024504 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, level, type, ts
Sensor: air_quality | fields: level, value, depth, lon
Task: Fetch depth from snow_depth where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024505 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lon, type, lat, depth
Sensor: pressure | fields: type, lat, value, qc
Task: Get lon from temperature where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024506 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, lat, value, qc
Sensor: frost | fields: depth, type, reading, lat
Task: Fetch depth from snow_depth where value is greater than the average of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024507 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: type, depth, lon, lat
Sensor: uv_index | fields: reading, level, depth, ts
Task: Fetch lat from temperature where value is greater than the maximum of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024508 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, value, lon, qc
Sensor: visibility | fields: value, qc, level, unit
Task: Get depth from soil_moisture where type appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024509 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, type, lat, ts
Sensor: visibility | fields: qc, lat, depth, reading
Task: Retrieve lon from sunlight with value above the COUNT(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024510 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: qc, lat, value, reading
Sensor: rainfall | fields: value, unit, type, reading
Task: Retrieve depth from uv_index that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024511 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: level, lat, value, depth
Sensor: pressure | fields: value, ts, type, reading
Task: Retrieve value from frost that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024512 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: value, reading, qc, type
Sensor: sunlight | fields: lat, type, ts, reading
Task: Get lat from air_quality where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024513 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: type, level, depth, value
Sensor: pressure | fields: reading, lat, qc, unit
Task: Get depth from air_quality where value exceeds the maximum value from pressure for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024514 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: reading, depth, ts, level
Sensor: pressure | fields: lat, ts, type, depth
Task: Get reading from dew_point where qc appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024515 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, lon, ts, unit
Sensor: pressure | fields: depth, lat, ts, type
Task: Get value from cloud_cover where value exceeds the total depth from pressure for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024516 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, level, type, qc
Sensor: lightning | fields: lon, type, lat, value
Task: Get lon from soil_moisture where value exceeds the count of depth from lightning for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024517 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: reading, ts, depth, qc
Sensor: turbidity | fields: depth, lat, qc, lon
Task: Get depth from sunlight where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024518 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: level, lat, reading, unit
Sensor: cloud_cover | fields: lat, level, depth, ts
Task: Get lon from drought_index where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024519 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, qc, level, value
Sensor: lightning | fields: reading, level, type, unit
Task: Fetch depth from soil_moisture where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024520 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, qc, depth, reading
Sensor: wind_speed | fields: lon, ts, level, value
Task: Retrieve reading 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="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024521 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, lon, qc, unit
Sensor: cloud_cover | fields: lon, type, unit, depth
Task: Retrieve level from visibility with depth above the AVG(reading) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024522 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: ts, value, lon, level
Sensor: rainfall | fields: unit, depth, lon, lat
Task: Retrieve value from temperature with reading above the SUM(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024523 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: unit, level, reading, type
Sensor: air_quality | fields: value, reading, qc, unit
Task: Get lon from drought_index where value exceeds the average value from air_quality for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024524 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, level, unit, lon
Sensor: air_quality | fields: lon, ts, qc, lat
Task: Fetch lat from cloud_cover where ts exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024525 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, value, depth, reading
Sensor: snow_depth | fields: ts, value, lon, type
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="ref"),
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": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024526 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: depth, lon, level, lat
Sensor: rainfall | fields: type, unit, lon, level
Task: Fetch reading from uv_index where qc exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024527 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lon, unit, depth, ts
Sensor: humidity | fields: lat, lon, reading, ts
Task: Get depth from air_quality where value exceeds the count of depth from humidity for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024528 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: ts, reading, unit, type
Sensor: frost | fields: level, qc, lat, type
Task: Get lon from turbidity where reading exceeds the maximum reading from frost for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024529 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lat, depth, reading, ts
Sensor: temperature | fields: lon, level, type, unit
Task: Fetch reading from dew_point that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024530 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: qc, reading, lat, level
Sensor: humidity | fields: ts, lat, type, reading
Task: Fetch level from air_quality where ts exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024531 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lon, unit, lat, reading
Sensor: temperature | fields: reading, type, ts, lat
Task: Get level from drought_index where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024532 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: lat, value, qc, unit
Sensor: turbidity | fields: qc, ts, type, lon
Task: Fetch reading from temperature where value is greater than the average of depth in turbidity for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024533 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: qc, ts, level, depth
Sensor: soil_moisture | fields: ts, qc, reading, unit
Task: Retrieve reading from pressure that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024534 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: depth, qc, reading, value
Sensor: snow_depth | fields: qc, ts, reading, depth
Task: Get lat from dew_point where reading exceeds the maximum reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024535 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, ts, value, depth
Sensor: frost | fields: ts, unit, reading, level
Task: Fetch depth from wind_speed where qc exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024536 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, reading, qc, unit
Sensor: humidity | fields: lon, lat, value, type
Task: Retrieve lat from drought_index whose ts is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024537 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: value, lon, type, level
Sensor: pressure | fields: depth, type, level, qc
Task: Get value from air_quality where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024538 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: unit, level, qc, lat
Sensor: visibility | fields: unit, lon, type, lat
Task: Get reading from sunlight where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024539 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, type, depth, qc
Sensor: dew_point | fields: depth, ts, lon, value
Task: Get lat from wind_speed where value exceeds the minimum depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024540 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: depth, level, ts, qc
Sensor: humidity | fields: qc, value, unit, ts
Task: Get depth from air_quality where value exceeds the minimum depth from humidity for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024541 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: depth, lon, reading, unit
Sensor: snow_depth | fields: type, depth, ts, qc
Task: Fetch depth from air_quality where depth exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024542 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: value, qc, unit, type
Sensor: cloud_cover | fields: ts, qc, depth, value
Task: Fetch value from evaporation that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024543 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: level, lon, depth, lat
Sensor: temperature | fields: reading, unit, lat, qc
Task: Fetch depth from dew_point that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024544 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, qc, reading, type
Sensor: evaporation | fields: ts, qc, lat, unit
Task: Fetch value from drought_index that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024545 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: type, reading, unit, value
Sensor: turbidity | fields: ts, qc, unit, level
Task: Fetch reading from uv_index that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024546 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: ts, qc, unit, value
Sensor: wind_speed | fields: reading, value, ts, lat
Task: Get lon from air_quality where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024547 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, ts, level, qc
Sensor: visibility | fields: depth, lat, ts, value
Task: Retrieve value from soil_moisture whose depth is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024548 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: level, qc, unit, value
Sensor: visibility | fields: lat, unit, reading, type
Task: Get level from frost where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024549 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, depth, level, lon
Sensor: evaporation | fields: ts, unit, reading, lon
Task: Get level from temperature where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024550 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: depth, value, unit, qc
Sensor: snow_depth | fields: unit, type, depth, value
Task: Retrieve value from dew_point that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024551 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: unit, lat, qc, type
Sensor: rainfall | fields: value, level, qc, lat
Task: Fetch depth from frost where reading is greater than the average of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024552 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: type, reading, value, ts
Sensor: drought_index | fields: type, ts, unit, qc
Task: Fetch lat from sunlight that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024553 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: level, lat, value, depth
Sensor: snow_depth | fields: lat, type, depth, level
Task: Retrieve depth from air_quality whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024554 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: level, value, reading, ts
Sensor: wind_speed | fields: qc, type, unit, value
Task: Retrieve reading from air_quality whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024555 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: reading, depth, unit, lat
Sensor: sunlight | fields: depth, qc, value, ts
Task: Retrieve value from visibility that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024556 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, lat, unit, value
Sensor: evaporation | fields: value, lat, level, depth
Task: Get value from humidity where value exceeds the count of value from evaporation for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024557 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: lat, type, qc, ts
Sensor: pressure | fields: lat, type, value, ts
Task: Retrieve level from dew_point that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024558 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, depth, unit, ts
Sensor: air_quality | fields: qc, unit, lon, lat
Task: Get level from sunlight where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024559 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: level, value, qc, lat
Sensor: drought_index | fields: reading, unit, value, level
Task: Fetch reading from sunlight where reading is greater than the minimum of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024560 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: level, type, value, ts
Sensor: air_quality | fields: unit, qc, type, lat
Task: Get lat from temperature where depth appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024561 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, depth, reading, unit
Sensor: snow_depth | fields: lon, type, qc, unit
Task: Get level from cloud_cover where reading exceeds the maximum value from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024562 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: depth, unit, level, reading
Sensor: wind_speed | fields: depth, value, lon, lat
Task: Fetch reading from dew_point where value is greater than the total of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024563 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, qc, reading, lat
Sensor: turbidity | fields: reading, value, depth, level
Task: Retrieve reading from cloud_cover that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024564 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: ts, depth, value, lat
Sensor: frost | fields: ts, value, level, type
Task: Get lon from turbidity where ts appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024565 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lon, level, type, depth
Sensor: snow_depth | fields: level, lat, ts, qc
Task: Fetch level from frost where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024566 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: depth, type, lat, qc
Sensor: pressure | fields: type, reading, lon, value
Task: Get value from temperature where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024567 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, qc, unit, ts
Sensor: evaporation | fields: qc, lat, unit, depth
Task: Fetch depth from wind_speed where qc exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024568 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, depth, type, reading
Sensor: pressure | fields: type, reading, ts, lon
Task: Get level from snow_depth where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024569 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: reading, depth, value, type
Sensor: wind_speed | fields: level, lon, type, unit
Task: Retrieve level from drought_index with reading above the SUM(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024570 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lon, ts, depth, level
Sensor: cloud_cover | fields: ts, level, unit, lat
Task: Get value from rainfall where reading exceeds the count of reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024571 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: level, depth, type, value
Sensor: cloud_cover | fields: qc, level, lon, depth
Task: Get lat from uv_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024572 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lon, ts, depth, lat
Sensor: pressure | fields: type, ts, lon, reading
Task: Fetch reading from rainfall where value is greater than the average of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024573 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: type, depth, reading, ts
Sensor: sunlight | fields: lon, value, type, qc
Task: Retrieve lon from uv_index whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024574 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: depth, lon, ts, type
Sensor: snow_depth | fields: unit, type, ts, lon
Task: Retrieve lon from frost whose depth is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024575 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lon, reading, level, type
Sensor: frost | fields: lat, ts, unit, lon
Task: Fetch level from lightning that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024576 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lat, reading, value, lon
Sensor: rainfall | fields: lat, reading, ts, value
Task: Get lat from drought_index where type appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024577 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lat, depth, level, unit
Sensor: turbidity | fields: unit, ts, type, qc
Task: Fetch lon from lightning where type exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024578 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, lon, reading, type
Sensor: soil_moisture | fields: value, level, qc, lon
Task: Retrieve value from turbidity with depth above the MIN(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024579 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, unit, ts, lon
Sensor: cloud_cover | fields: type, qc, unit, reading
Task: Get lon from visibility where qc appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024580 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, unit, qc, type
Sensor: frost | fields: reading, depth, type, ts
Task: Retrieve value from pressure that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024581 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, reading, unit, ts
Sensor: dew_point | fields: lat, type, ts, lon
Task: Fetch level from turbidity where value is greater than the maximum of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024582 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: value, reading, ts, lon
Sensor: air_quality | fields: qc, depth, reading, lon
Task: Retrieve reading from rainfall that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024583 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, ts, level, value
Sensor: temperature | fields: value, lon, ts, depth
Task: Get reading from visibility where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024584 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, value, depth, lat
Sensor: wind_speed | fields: unit, value, qc, type
Task: Retrieve reading from sunlight with value above the COUNT(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024585 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, type, qc, depth
Sensor: visibility | fields: depth, qc, unit, lon
Task: Retrieve level from soil_moisture whose type is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024586 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: depth, level, value, type
Sensor: wind_speed | fields: type, reading, unit, qc
Task: Retrieve depth from rainfall with depth above the MAX(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024587 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: type, ts, value, reading
Sensor: sunlight | fields: unit, type, value, lat
Task: Fetch depth from evaporation where qc exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024588 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: type, reading, depth, value
Sensor: humidity | fields: level, lon, type, ts
Task: Fetch depth from visibility where reading is greater than the count of of value in humidity for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024589 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: qc, type, unit, value
Sensor: evaporation | fields: type, ts, depth, lon
Task: Get lon from pressure where value exceeds the maximum value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024590 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: reading, qc, depth, ts
Sensor: cloud_cover | fields: value, depth, qc, ts
Task: Retrieve reading from visibility that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024591 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lon, lat, type, unit
Sensor: wind_speed | fields: level, lat, reading, depth
Task: Retrieve level from air_quality that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024592 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, lon, reading, depth
Sensor: evaporation | fields: depth, type, unit, level
Task: Retrieve value from wind_speed that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024593 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, type, level, value
Sensor: visibility | fields: ts, type, lon, unit
Task: Retrieve lat from snow_depth whose type is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024594 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: qc, value, lat, reading
Sensor: air_quality | fields: lat, value, depth, unit
Task: Retrieve reading from frost with value above the SUM(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024595 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: value, depth, unit, ts
Sensor: wind_speed | fields: lat, depth, value, unit
Task: Retrieve reading from evaporation that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024596 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, ts, reading, unit
Sensor: soil_moisture | fields: lon, ts, lat, unit
Task: Fetch reading from pressure where depth is greater than the count of of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024597 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, value, lon, qc
Sensor: temperature | fields: level, type, lat, lon
Task: Retrieve depth from wind_speed that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024598 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: ts, unit, value, type
Sensor: soil_moisture | fields: qc, type, value, reading
Task: Retrieve lat from dew_point that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.