variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: drought_index | code: prt | fields: lon, qc, level, depth
Sensor: dew_point | fields: lon, lat, value, ts
Task: Fetch value from drought_index that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040600 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lon, ts, unit, reading
Sensor: drought_index | fields: level, value, lat, reading
Task: Get reading from visibility where depth exceeds the minimum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040601 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, depth, level, qc
Sensor: uv_index | fields: qc, unit, reading, level
Task: Fetch depth from humidity where type exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040602 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, lat, unit, reading
Sensor: rainfall | fields: depth, value, qc, ts
Task: Get lat from lightning where ts appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040603 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: ts, level, lat, value
Sensor: lightning | fields: level, ts, lat, type
Task: Fetch reading from visibility where depth exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040604 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: value, reading, level, depth
Sensor: frost | fields: ts, lon, qc, depth
Task: Retrieve level from visibility with depth above the SUM(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040605 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: reading, depth, value, level
Sensor: drought_index | fields: ts, qc, reading, value
Task: Get level from temperature where qc appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040606 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, lat, depth, qc
Sensor: wind_speed | fields: level, qc, value, depth
Task: Retrieve level from cloud_cover with reading above the COUNT(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040607 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, ts, lat, level
Sensor: temperature | fields: level, reading, lat, lon
Task: Get level from cloud_cover where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040608 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, lat, reading, ts
Sensor: uv_index | fields: lon, depth, type, reading
Task: Retrieve depth from sunlight that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040609 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, qc, value, lat
Sensor: dew_point | fields: qc, lon, reading, value
Task: Retrieve reading from snow_depth with reading above the COUNT(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040610 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, depth, value, qc
Sensor: cloud_cover | fields: depth, unit, ts, lon
Task: Get lat from lightning where reading exceeds the maximum depth from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040611 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: qc, ts, value, unit
Sensor: sunlight | fields: reading, level, lat, type
Task: Fetch reading from air_quality that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040612 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: qc, unit, level, depth
Sensor: uv_index | fields: value, ts, depth, reading
Task: Get value from lightning where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040613 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: type, unit, ts, value
Sensor: dew_point | fields: qc, ts, value, lat
Task: Retrieve depth from rainfall whose type is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040614 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, unit, lon, reading
Sensor: visibility | fields: unit, reading, qc, type
Task: Fetch lon from snow_depth that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040615 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lon, reading, depth, unit
Sensor: snow_depth | fields: unit, qc, level, value
Task: Get lat from humidity where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040616 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, type, unit, reading
Sensor: uv_index | fields: lat, ts, reading, qc
Task: Get depth from snow_depth where type appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040617 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, qc, level, lon
Sensor: uv_index | fields: type, level, depth, lat
Task: Get depth from pressure where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040618 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lat, ts, level, lon
Sensor: sunlight | fields: ts, value, unit, depth
Task: Retrieve lat from visibility that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040619 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, ts, lat, level
Sensor: frost | fields: value, qc, lon, unit
Task: Retrieve reading from wind_speed with reading above the SUM(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040620 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: value, qc, depth, lon
Sensor: cloud_cover | fields: level, lat, reading, lon
Task: Retrieve lon from air_quality whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040621 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, type, ts, value
Sensor: temperature | fields: lon, ts, lat, depth
Task: Fetch reading from cloud_cover that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040622 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, level, type, lon
Sensor: drought_index | fields: type, qc, reading, unit
Task: Retrieve depth from wind_speed with depth above the COUNT(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040623 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: value, unit, depth, lat
Sensor: pressure | fields: depth, level, reading, lat
Task: Get level from visibility where ts appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040624 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: level, lon, ts, depth
Sensor: uv_index | fields: level, reading, lon, type
Task: Retrieve depth from rainfall that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040625 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, lon, reading, ts
Sensor: snow_depth | fields: depth, reading, ts, qc
Task: Fetch depth from humidity where ts exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040626 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: qc, lon, type, level
Sensor: snow_depth | fields: level, type, lon, value
Task: Get lon from air_quality where depth appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040627 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: level, value, unit, depth
Sensor: uv_index | fields: reading, lon, depth, value
Task: Retrieve lon from air_quality with reading above the COUNT(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040628 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, lon, level, depth
Sensor: lightning | fields: level, value, lon, qc
Task: Fetch level from snow_depth where reading is greater than the average of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040629 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: reading, lat, qc, lon
Sensor: humidity | fields: depth, type, level, value
Task: Retrieve lon from sunlight that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040630 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: level, depth, unit, lat
Sensor: uv_index | fields: level, depth, value, lat
Task: Fetch value from dew_point where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040631 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: type, value, depth, ts
Sensor: sunlight | fields: depth, unit, qc, ts
Task: Fetch lon from evaporation that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040632 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, value, depth, lon
Sensor: dew_point | fields: unit, type, qc, lat
Task: Retrieve reading from cloud_cover with reading above the AVG(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040633 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lat, reading, depth, type
Sensor: wind_speed | fields: unit, qc, ts, level
Task: Retrieve depth from drought_index that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040634 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: type, lon, depth, lat
Sensor: cloud_cover | fields: ts, value, reading, type
Task: Retrieve reading from temperature whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040635 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, value, lon, level
Sensor: air_quality | fields: lat, qc, unit, ts
Task: Get value from cloud_cover where value exceeds the total reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040636 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: unit, type, lat, reading
Sensor: pressure | fields: qc, reading, lat, lon
Task: Fetch level from frost that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040637 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: value, depth, unit, lon
Sensor: rainfall | fields: ts, level, lat, type
Task: Retrieve depth from pressure whose qc is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040638 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: unit, lon, ts, level
Sensor: wind_speed | fields: value, ts, type, qc
Task: Get value from temperature where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040639 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: qc, level, unit, reading
Sensor: temperature | fields: ts, value, depth, lat
Task: Fetch reading from turbidity where value is greater than the total of reading in temperature for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040640 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, lat, type, qc
Sensor: visibility | fields: lat, value, unit, level
Task: Retrieve level from frost whose ts is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040641 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: type, unit, depth, qc
Sensor: lightning | fields: qc, depth, value, reading
Task: Retrieve value from sunlight whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040642 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: unit, lon, type, ts
Sensor: evaporation | fields: reading, unit, qc, type
Task: Fetch level from air_quality where depth is greater than the average of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040643 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: qc, level, value, unit
Sensor: evaporation | fields: lat, value, qc, unit
Task: Fetch level from temperature where value is greater than the average of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040644 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: reading, depth, qc, type
Sensor: pressure | fields: depth, value, reading, type
Task: Fetch depth from air_quality where type exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040645 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, lat, reading, type
Sensor: rainfall | fields: unit, lat, level, ts
Task: Get reading from cloud_cover where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040646 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: type, depth, qc, lon
Sensor: soil_moisture | fields: depth, value, lon, reading
Task: Fetch reading from lightning where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040647 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, depth, unit, ts
Sensor: evaporation | fields: depth, lat, ts, reading
Task: Get lon from cloud_cover where value exceeds the count of reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040648 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lon, lat, value, type
Sensor: uv_index | fields: lon, lat, reading, unit
Task: Fetch value from lightning where reading is greater than the maximum of depth in uv_index for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040649 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: ts, value, type, depth
Sensor: frost | fields: unit, type, depth, value
Task: Get reading from pressure where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040650 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, qc, unit, type
Sensor: wind_speed | fields: reading, lon, ts, depth
Task: Retrieve depth from cloud_cover with depth above the MAX(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040651 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, value, reading, lat
Sensor: rainfall | fields: level, lat, type, depth
Task: Retrieve depth from air_quality that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040652 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, qc, lat, reading
Sensor: soil_moisture | fields: level, lon, type, reading
Task: Get reading from snow_depth where unit appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"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_040653 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: value, depth, reading, qc
Sensor: evaporation | fields: depth, unit, ts, lat
Task: Retrieve lat from rainfall whose ts is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040654 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: level, unit, qc, depth
Sensor: rainfall | fields: unit, value, qc, depth
Task: Get lon from lightning where reading exceeds the count of depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040655 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: ts, level, qc, reading
Sensor: cloud_cover | fields: lon, lat, unit, level
Task: Get lon from air_quality where depth exceeds the minimum reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040656 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: unit, reading, lon, depth
Sensor: sunlight | fields: ts, qc, level, lon
Task: Retrieve lat from frost with value above the MAX(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040657 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, qc, depth, lon
Sensor: uv_index | fields: depth, reading, value, lat
Task: Get lat from cloud_cover where depth appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040658 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: unit, lon, value, type
Sensor: snow_depth | fields: value, depth, type, ts
Task: Fetch depth from drought_index that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040659 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: depth, value, ts, lat
Sensor: soil_moisture | fields: value, level, lon, type
Task: Retrieve depth from evaporation whose depth is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040660 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: depth, lat, lon, unit
Sensor: lightning | fields: reading, lon, ts, unit
Task: Retrieve lat from dew_point with value above the AVG(depth) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"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_040661 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: depth, reading, level, ts
Sensor: cloud_cover | fields: lat, reading, value, qc
Task: Get lon from sunlight where depth exceeds the total depth from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040662 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: level, value, type, ts
Sensor: pressure | fields: qc, reading, depth, unit
Task: Fetch reading from snow_depth where reading is greater than the count of of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040663 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: unit, value, reading, depth
Sensor: drought_index | fields: qc, depth, lat, ts
Task: Fetch depth from visibility where value is greater than the maximum of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040664 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: reading, type, qc, ts
Sensor: sunlight | fields: lon, reading, ts, type
Task: Fetch lon from frost that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040665 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lat, type, lon, value
Sensor: frost | fields: reading, type, ts, lon
Task: Get depth from pressure where value exceeds the total value from frost for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040666 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: type, level, unit, qc
Sensor: air_quality | fields: value, lon, depth, unit
Task: Retrieve reading from temperature that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"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_040667 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, unit, ts, depth
Sensor: frost | fields: ts, lat, unit, type
Task: Retrieve level from lightning with depth above the MIN(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040668 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, qc, reading, value
Sensor: temperature | fields: qc, lat, type, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040669 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: level, lon, ts, reading
Sensor: soil_moisture | fields: reading, lon, depth, qc
Task: Fetch value from frost that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040670 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: type, reading, value, level
Sensor: uv_index | fields: qc, level, lon, unit
Task: Fetch value from wind_speed that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040671 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, unit, ts, lat
Sensor: cloud_cover | fields: level, qc, lat, reading
Task: Retrieve depth from temperature that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040672 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, ts, depth, type
Sensor: humidity | fields: ts, level, lat, lon
Task: Get depth from wind_speed where reading exceeds the count of depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040673 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: type, level, qc, depth
Sensor: frost | fields: depth, lon, qc, type
Task: Retrieve lon from wind_speed with reading above the AVG(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040674 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: lat, ts, qc, depth
Sensor: visibility | fields: type, ts, unit, level
Task: Fetch lon from drought_index that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040675 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: value, type, level, reading
Sensor: frost | fields: type, lon, unit, level
Task: Retrieve depth from visibility whose unit is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040676 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lon, type, level, unit
Sensor: wind_speed | fields: qc, lat, depth, lon
Task: Fetch level from turbidity where reading is greater than the maximum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040677 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: ts, value, reading, level
Sensor: turbidity | fields: ts, type, level, lon
Task: Retrieve value from lightning with value above the SUM(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040678 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: qc, depth, reading, type
Sensor: soil_moisture | fields: qc, depth, type, level
Task: Get lat from rainfall where value exceeds the count of value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040679 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: qc, ts, type, value
Sensor: uv_index | fields: type, ts, reading, depth
Task: Get level from dew_point where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040680 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: reading, value, type, depth
Sensor: soil_moisture | fields: value, lat, type, unit
Task: Fetch depth from dew_point where value is greater than the total of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040681 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, ts, unit, qc
Sensor: temperature | fields: depth, level, lon, lat
Task: Get value from lightning where depth exceeds the count of value from temperature for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040682 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: reading, qc, type, lon
Sensor: visibility | fields: depth, qc, lon, lat
Task: Get depth from turbidity where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040683 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lon, reading, lat, value
Sensor: temperature | fields: reading, unit, lon, depth
Task: Retrieve value from drought_index that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040684 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, lon, type, lat
Sensor: uv_index | fields: reading, ts, unit, type
Task: Get value from cloud_cover where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040685 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, qc, lat, ts
Sensor: uv_index | fields: value, lon, depth, unit
Task: Get lon from humidity where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040686 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, unit, level, ts
Sensor: pressure | fields: level, ts, type, lon
Task: Fetch reading from cloud_cover that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040687 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: ts, lat, type, value
Sensor: snow_depth | fields: ts, depth, type, lat
Task: Retrieve level from dew_point whose depth is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040688 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: level, qc, lat, depth
Sensor: humidity | fields: ts, type, lon, level
Task: Retrieve lat from uv_index that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040689 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: level, lat, lon, depth
Sensor: visibility | fields: value, level, type, depth
Task: Retrieve reading from sunlight whose ts is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040690 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: depth, unit, reading, ts
Sensor: soil_moisture | fields: level, lon, unit, qc
Task: Retrieve depth from air_quality whose qc is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040691 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, qc, ts, lat
Sensor: pressure | fields: lat, qc, reading, lon
Task: Retrieve reading from uv_index with depth above the SUM(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040692 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: unit, level, reading, lon
Sensor: wind_speed | fields: qc, reading, lon, level
Task: Retrieve lon from pressure that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040693 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: depth, lat, level, reading
Sensor: drought_index | fields: depth, unit, value, lat
Task: Retrieve lon from visibility with reading above the SUM(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040694 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: reading, value, lon, lat
Sensor: rainfall | fields: unit, qc, lon, reading
Task: Fetch level from dew_point where type exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040695 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, ts, type, qc
Sensor: lightning | fields: qc, lat, reading, unit
Task: Retrieve depth from turbidity that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040696 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, lat, value, lon
Sensor: evaporation | fields: type, qc, depth, ts
Task: Retrieve lon from turbidity whose unit is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040697 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: qc, depth, type, unit
Sensor: pressure | fields: depth, reading, ts, lat
Task: Retrieve lon from humidity that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040698 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, type, level, lat
Sensor: cloud_cover | fields: reading, depth, qc, ts
Task: Fetch value from soil_moisture where reading is greater than the count of of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.