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: pressure | code: hub | fields: qc, depth, type, value
Sensor: humidity | fields: type, depth, unit, reading
Task: Get level from pressure where ts appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001600 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: unit, reading, depth, level
Sensor: air_quality | fields: ts, type, reading, value
Task: Retrieve depth from uv_index with value above the SUM(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001601 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lon, lat, ts, value
Sensor: air_quality | fields: ts, value, reading, type
Task: Retrieve reading from drought_index that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001602 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: type, value, level, lon
Sensor: soil_moisture | fields: depth, type, level, lon
Task: Get lat from snow_depth where depth exceeds the count of depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001603 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: qc, ts, type, depth
Sensor: pressure | fields: qc, value, lat, ts
Task: Fetch level from lightning where value is greater than the minimum of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001604 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: value, reading, unit, depth
Sensor: humidity | fields: unit, lon, reading, lat
Task: Retrieve lon from uv_index that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001605 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, value, depth, unit
Sensor: cloud_cover | fields: reading, type, ts, qc
Task: Fetch lat from soil_moisture where value is greater than the minimum of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001606 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: type, lon, ts, depth
Sensor: cloud_cover | fields: lat, value, type, qc
Task: Fetch lon from drought_index where depth is greater than the count of of reading in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001607 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: type, reading, value, lat
Sensor: turbidity | fields: value, ts, depth, lon
Task: Retrieve lon from wind_speed with reading above the AVG(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001608 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: unit, depth, reading, qc
Sensor: frost | fields: value, lon, depth, qc
Task: Retrieve value from rainfall that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001609 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lon, value, ts, lat
Sensor: snow_depth | fields: value, type, qc, lon
Task: Fetch depth from turbidity where depth exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001610 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lon, value, reading, qc
Sensor: evaporation | fields: reading, level, lat, value
Task: Fetch value from air_quality where reading is greater than the average of depth in evaporation for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001611 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, ts, value, reading
Sensor: air_quality | fields: lat, lon, reading, type
Task: Get lon from humidity where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001612 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: reading, value, qc, lon
Sensor: humidity | fields: unit, reading, type, lat
Task: Retrieve reading from frost whose type is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001613 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: qc, level, unit, ts
Sensor: snow_depth | fields: depth, value, level, reading
Task: Fetch lon from rainfall where unit exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001614 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, unit, depth, lat
Sensor: uv_index | fields: type, unit, lat, value
Task: Fetch reading from sunlight that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001615 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, qc, value, lon
Sensor: evaporation | fields: lat, value, unit, level
Task: Retrieve level from rainfall with value above the MIN(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001616 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, type, lat, unit
Sensor: soil_moisture | fields: type, value, lat, depth
Task: Get lon from snow_depth where ts appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001617 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, lat, depth, qc
Sensor: snow_depth | fields: type, value, ts, depth
Task: Fetch level from drought_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001618 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, qc, ts, depth
Sensor: lightning | fields: ts, value, type, lon
Task: Get level from pressure where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001619 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lon, qc, lat, type
Sensor: lightning | fields: level, lon, unit, type
Task: Retrieve lat from dew_point whose depth is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001620 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: reading, value, depth, type
Sensor: cloud_cover | fields: depth, type, lat, value
Task: Get lon from pressure where value exceeds the maximum depth from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001621 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: ts, lon, lat, level
Sensor: visibility | fields: level, lat, unit, depth
Task: Get lat from rainfall where depth exceeds the maximum reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001622 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: value, unit, qc, ts
Sensor: air_quality | fields: type, unit, lon, lat
Task: Retrieve value from snow_depth that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001623 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lat, qc, lon, unit
Sensor: lightning | fields: depth, unit, value, ts
Task: Retrieve level from air_quality with value above the SUM(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001624 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: qc, level, depth, lat
Sensor: soil_moisture | fields: reading, lat, depth, unit
Task: Get reading from rainfall where qc appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001625 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, value, qc, lon
Sensor: evaporation | fields: value, qc, lon, level
Task: Retrieve reading from snow_depth that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001626 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: reading, qc, lat, unit
Sensor: pressure | fields: value, depth, type, level
Task: Retrieve depth from air_quality with value above the COUNT(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001627 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: unit, lat, ts, reading
Sensor: drought_index | fields: type, unit, reading, lon
Task: Get reading from pressure where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001628 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: level, depth, lon, reading
Sensor: lightning | fields: lon, qc, unit, depth
Task: Retrieve lon from sunlight with reading above the COUNT(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001629 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: value, qc, ts, reading
Sensor: turbidity | fields: type, unit, ts, qc
Task: Retrieve lat from evaporation whose qc is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001630 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: level, lon, depth, qc
Sensor: dew_point | fields: ts, value, qc, type
Task: Get depth from uv_index where qc appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001631 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: ts, level, qc, value
Sensor: uv_index | fields: lon, reading, type, value
Task: Retrieve level from evaporation with depth above the SUM(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001632 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, reading, ts, level
Sensor: dew_point | fields: unit, type, ts, lon
Task: Fetch lon from rainfall where depth is greater than the minimum of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001633 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, lat, lon, depth
Sensor: sunlight | fields: qc, level, ts, reading
Task: Retrieve value from air_quality whose ts is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001634 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lat, ts, value, qc
Sensor: rainfall | fields: lon, depth, qc, type
Task: Retrieve value from frost whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001635 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: level, value, lon, unit
Sensor: sunlight | fields: lon, value, reading, depth
Task: Fetch value from rainfall where value is greater than the minimum of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001636 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: value, qc, level, reading
Sensor: uv_index | fields: level, unit, type, qc
Task: Get depth from visibility where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001637 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, lon, type, unit
Sensor: wind_speed | fields: lon, value, type, level
Task: Fetch level from cloud_cover where qc exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001638 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: value, lat, unit, depth
Sensor: uv_index | fields: ts, lon, reading, lat
Task: Get depth from turbidity where type appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001639 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, qc, lat, level
Sensor: air_quality | fields: value, depth, unit, reading
Task: Get value from uv_index where reading exceeds the minimum value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001640 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, level, reading, ts
Sensor: soil_moisture | fields: reading, qc, depth, level
Task: Get depth from frost where value exceeds the count of value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001641 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lat, unit, depth, value
Sensor: frost | fields: depth, type, value, unit
Task: Get level from rainfall where qc appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001642 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, value, reading, level
Sensor: air_quality | fields: lat, unit, reading, lon
Task: Fetch reading from turbidity that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001643 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, unit, lon, depth
Sensor: dew_point | fields: qc, level, ts, lon
Task: Get value from air_quality where reading exceeds the average reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001644 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lon, ts, level, unit
Sensor: turbidity | fields: qc, unit, lat, lon
Task: Fetch reading from temperature where ts exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001645 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: depth, unit, lon, level
Sensor: humidity | fields: unit, qc, reading, value
Task: Get reading from air_quality where depth appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001646 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: level, lon, reading, unit
Sensor: dew_point | fields: value, ts, qc, unit
Task: Get reading from uv_index where depth appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001647 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: depth, ts, qc, type
Sensor: visibility | fields: qc, unit, type, depth
Task: Retrieve lon from rainfall whose ts is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001648 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: type, unit, lon, depth
Sensor: drought_index | fields: lon, depth, qc, reading
Task: Get lat from uv_index where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001649 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: type, qc, lon, value
Sensor: cloud_cover | fields: unit, depth, ts, level
Task: Get level from lightning where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001650 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lat, reading, type, lon
Sensor: soil_moisture | fields: ts, reading, level, lon
Task: Retrieve level from temperature whose qc is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001651 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, unit, type, ts
Sensor: soil_moisture | fields: lat, qc, value, ts
Task: Retrieve reading from cloud_cover whose unit is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001652 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: ts, qc, lon, level
Sensor: sunlight | fields: lon, ts, reading, lat
Task: Retrieve depth from frost that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001653 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lon, reading, ts, lat
Sensor: rainfall | fields: depth, value, lat, lon
Task: Retrieve depth from evaporation that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001654 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: reading, level, value, unit
Sensor: pressure | fields: unit, lat, level, value
Task: Fetch value from rainfall that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001655 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: type, lat, qc, unit
Sensor: visibility | fields: level, value, type, depth
Task: Fetch lat from drought_index that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001656 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, reading, type, value
Sensor: sunlight | fields: value, ts, lat, type
Task: Retrieve level from visibility that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001657 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: type, reading, lat, level
Sensor: pressure | fields: ts, depth, level, unit
Task: Fetch level from turbidity where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001658 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: qc, level, ts, depth
Sensor: soil_moisture | fields: value, depth, lat, reading
Task: Get lon from uv_index where ts appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001659 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: level, lat, value, depth
Sensor: snow_depth | fields: type, value, reading, ts
Task: Retrieve value from drought_index that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001660 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, lon, reading, lat
Sensor: air_quality | fields: reading, lat, unit, type
Task: Get reading from evaporation where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001661 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: value, unit, lat, lon
Sensor: frost | fields: type, lon, depth, qc
Task: Get value from rainfall where type appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001662 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: ts, unit, value, level
Sensor: snow_depth | fields: value, lon, qc, lat
Task: Get depth from evaporation where ts appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001663 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, reading, depth, type
Sensor: snow_depth | fields: reading, ts, unit, type
Task: Fetch reading from cloud_cover that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001664 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: qc, ts, unit, type
Sensor: dew_point | fields: value, reading, lat, depth
Task: Retrieve depth from humidity that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001665 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, qc, lon, value
Sensor: drought_index | fields: value, lon, depth, type
Task: Fetch reading from frost where reading is greater than the average of reading in drought_index for matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001666 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lat, qc, lon, level
Sensor: evaporation | fields: ts, lon, reading, depth
Task: Fetch reading from dew_point that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001667 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: reading, lon, qc, ts
Sensor: air_quality | fields: reading, unit, lon, type
Task: Get value from drought_index where depth exceeds the minimum reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001668 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: type, lat, reading, level
Sensor: temperature | fields: depth, value, unit, lon
Task: Retrieve depth from visibility with value above the SUM(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001669 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lat, lon, level, type
Sensor: air_quality | fields: value, lon, lat, unit
Task: Get level from frost where reading exceeds the average depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001670 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, reading, lat, level
Sensor: frost | fields: unit, reading, lon, lat
Task: Get value from rainfall where value exceeds the average depth from frost for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001671 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: depth, value, ts, qc
Sensor: uv_index | fields: qc, ts, lon, depth
Task: Get level from dew_point where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001672 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lat, lon, qc, value
Sensor: snow_depth | fields: unit, lat, ts, type
Task: Get reading from lightning where reading exceeds the average value from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001673 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lon, value, reading, depth
Sensor: lightning | fields: level, type, lon, ts
Task: Retrieve depth from evaporation that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001674 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: ts, depth, level, unit
Sensor: cloud_cover | fields: qc, depth, reading, type
Task: Get lon from turbidity where type appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001675 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, value, reading, lon
Sensor: humidity | fields: lat, value, type, ts
Task: Get value from frost where reading exceeds the count of value from humidity for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001676 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: type, value, depth, ts
Sensor: cloud_cover | fields: value, level, reading, lon
Task: Fetch lon from wind_speed where ts exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001677 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: value, type, qc, reading
Sensor: visibility | fields: reading, unit, ts, type
Task: Get reading from frost where reading exceeds the average value from visibility for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001678 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: level, type, depth, unit
Sensor: snow_depth | fields: depth, ts, type, qc
Task: Get reading from air_quality where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001679 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: ts, reading, value, depth
Sensor: air_quality | fields: value, lat, qc, ts
Task: Get reading from evaporation where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001680 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lon, level, ts, type
Sensor: snow_depth | fields: depth, type, reading, lat
Task: Retrieve lon from drought_index whose type is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001681 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, lat, unit, ts
Sensor: air_quality | fields: lon, unit, depth, qc
Task: Get value from visibility where value exceeds the count of depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001682 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, type, level, unit
Sensor: pressure | fields: qc, type, level, ts
Task: Fetch depth from wind_speed that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001683 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: value, ts, unit, depth
Sensor: uv_index | fields: lat, depth, ts, level
Task: Retrieve lat from lightning with reading above the AVG(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001684 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: type, value, ts, level
Sensor: pressure | fields: lat, type, ts, value
Task: Fetch reading from humidity that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001685 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: lat, depth, unit, qc
Sensor: temperature | fields: type, ts, value, level
Task: Fetch depth from rainfall where depth exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001686 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: unit, qc, value, lat
Sensor: wind_speed | fields: lat, type, reading, qc
Task: Fetch level from uv_index that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001687 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: qc, lat, depth, reading
Sensor: pressure | fields: type, reading, lat, qc
Task: Fetch lat from visibility where depth is greater than the minimum of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001688 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: depth, unit, type, lat
Sensor: drought_index | fields: depth, type, lon, value
Task: Retrieve lat from temperature with reading above the SUM(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001689 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: unit, value, level, reading
Sensor: visibility | fields: qc, lat, value, level
Task: Get lat from frost where reading exceeds the minimum depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001690 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: ts, qc, unit, level
Sensor: wind_speed | fields: lon, type, reading, level
Task: Fetch depth from sunlight where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001691 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: qc, lat, lon, ts
Sensor: drought_index | fields: unit, level, ts, value
Task: Get lat from temperature where reading exceeds the maximum value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001692 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lat, ts, type, unit
Sensor: cloud_cover | fields: lat, qc, type, unit
Task: Fetch depth from frost that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001693 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, unit, value, qc
Sensor: uv_index | fields: lat, unit, value, lon
Task: Get value from soil_moisture where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001694 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, reading, type, depth
Sensor: humidity | fields: unit, lat, level, ts
Task: Get depth from lightning where depth exceeds the count of reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001695 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: level, depth, unit, lon
Sensor: temperature | fields: value, level, depth, ts
Task: Retrieve lat from rainfall with depth above the MIN(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001696 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: qc, unit, lon, level
Sensor: evaporation | fields: level, reading, lat, qc
Task: Retrieve lon from humidity with depth above the COUNT(reading) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001697 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, value, depth, reading
Sensor: rainfall | fields: type, ts, lat, qc
Task: Fetch level from wind_speed that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001698 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, level, value, qc
Sensor: air_quality | fields: level, lon, ts, depth
Task: Fetch value from snow_depth where unit exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.