variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: humidity | code: stn | fields: depth, lon, qc, reading
Sensor: frost | fields: reading, unit, level, lon
Task: Fetch value from humidity where depth is greater than the count of of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081600 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: type, reading, ts, lon
Sensor: snow_depth | fields: ts, lat, type, level
Task: Fetch lat from turbidity where reading is greater than the average of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081601 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: value, qc, reading, type
Sensor: snow_depth | fields: level, qc, unit, depth
Task: Get reading from temperature where reading exceeds the maximum depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081602 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: ts, lon, qc, value
Sensor: sunlight | fields: ts, unit, qc, reading
Task: Get level from visibility where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081603 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: level, qc, ts, depth
Sensor: cloud_cover | fields: depth, qc, lon, level
Task: Get level from drought_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081604 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, qc, lon, unit
Sensor: lightning | fields: qc, type, lon, unit
Task: Retrieve lat from temperature that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081605 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, lon, ts, level
Sensor: snow_depth | fields: depth, lat, reading, type
Task: Retrieve lon from rainfall with value above the SUM(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081606 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: level, reading, value, type
Sensor: soil_moisture | fields: value, unit, depth, type
Task: Get lat from rainfall where reading exceeds the total value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081607 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lat, qc, unit, value
Sensor: lightning | fields: type, depth, unit, lat
Task: Get depth from rainfall where reading exceeds the count of depth from lightning for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081608 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: ts, unit, type, value
Sensor: evaporation | fields: lat, lon, value, level
Task: Get depth from lightning where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081609 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: type, lon, value, depth
Sensor: soil_moisture | fields: reading, level, qc, type
Task: Retrieve lon from pressure that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081610 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: reading, ts, value, unit
Sensor: cloud_cover | fields: qc, ts, type, depth
Task: Fetch level from lightning where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081611 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: ts, lat, qc, lon
Sensor: humidity | fields: level, lat, depth, lon
Task: Retrieve lon from lightning that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081612 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: qc, value, lat, lon
Sensor: rainfall | fields: depth, type, level, ts
Task: Retrieve level from lightning whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081613 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lon, level, reading, ts
Sensor: pressure | fields: lon, type, ts, lat
Task: Fetch lon from lightning where qc exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081614 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: qc, value, unit, level
Sensor: dew_point | fields: type, qc, lat, unit
Task: Retrieve value from lightning with depth above the MIN(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081615 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: ts, reading, unit, lon
Sensor: drought_index | fields: lon, ts, lat, reading
Task: Fetch lon from visibility where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081616 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, type, qc, level
Sensor: drought_index | fields: value, unit, lat, lon
Task: Retrieve lon from soil_moisture that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081617 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: type, qc, reading, lat
Sensor: lightning | fields: ts, type, lon, value
Task: Retrieve reading from snow_depth that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081618 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, lat, reading, depth
Sensor: sunlight | fields: type, lon, reading, level
Task: Get lat from wind_speed where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081619 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: value, unit, depth, lon
Sensor: temperature | fields: lon, ts, reading, qc
Task: Fetch depth from rainfall that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081620 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: depth, type, ts, qc
Sensor: rainfall | fields: ts, unit, lon, level
Task: Fetch lat from uv_index where qc exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081621 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, unit, level, lon
Sensor: soil_moisture | fields: lat, lon, depth, reading
Task: Get level from rainfall where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081622 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: value, lon, lat, reading
Sensor: lightning | fields: level, lon, depth, unit
Task: Get level from air_quality where reading exceeds the count of value from lightning for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081623 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lon, unit, qc, level
Sensor: wind_speed | fields: level, lat, depth, type
Task: Retrieve reading from uv_index whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081624 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, lon, reading, type
Sensor: dew_point | fields: lat, type, level, depth
Task: Get value from snow_depth where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081625 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: value, lat, ts, lon
Sensor: pressure | fields: lat, value, type, unit
Task: Fetch reading from dew_point where reading is greater than the minimum of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081626 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: value, lat, qc, level
Sensor: evaporation | fields: value, qc, depth, level
Task: Retrieve lat from uv_index that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081627 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, depth, qc, unit
Sensor: humidity | fields: depth, level, unit, lat
Task: Fetch lat from evaporation where depth is greater than the minimum of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081628 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, depth, lat, unit
Sensor: pressure | fields: level, type, depth, unit
Task: Fetch lat from rainfall where reading is greater than the minimum of value in pressure for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081629 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: value, type, lat, reading
Sensor: turbidity | fields: type, value, lat, lon
Task: Fetch value from rainfall where depth is greater than the count of of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081630 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, depth, value, reading
Sensor: air_quality | fields: qc, unit, depth, lon
Task: Retrieve lat from wind_speed with depth above the SUM(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081631 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: ts, value, lat, reading
Sensor: snow_depth | fields: qc, lat, lon, level
Task: Fetch reading from uv_index where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081632 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: ts, depth, type, unit
Sensor: snow_depth | fields: unit, reading, depth, level
Task: Fetch depth from lightning where value is greater than the total of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081633 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, qc, reading, unit
Sensor: uv_index | fields: reading, ts, depth, lat
Task: Fetch reading from pressure that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081634 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, type, depth, qc
Sensor: evaporation | fields: reading, unit, value, ts
Task: Fetch level from dew_point where ts exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081635 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, qc, lon, depth
Sensor: sunlight | fields: lon, lat, ts, level
Task: Get reading from soil_moisture where type appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081636 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: unit, lat, depth, value
Sensor: turbidity | fields: unit, lon, level, reading
Task: Get reading from drought_index where value exceeds the average depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081637 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: reading, lat, level, ts
Sensor: evaporation | fields: reading, ts, lon, type
Task: Fetch value from dew_point where unit exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081638 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, type, lat, lon
Sensor: uv_index | fields: lon, reading, level, ts
Task: Retrieve level from soil_moisture with depth above the MIN(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081639 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: qc, depth, reading, lat
Sensor: snow_depth | fields: reading, lat, depth, lon
Task: Retrieve lat from uv_index whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081640 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: reading, value, depth, lon
Sensor: evaporation | fields: level, unit, qc, value
Task: Retrieve value from temperature that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081641 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lon, ts, unit, level
Sensor: sunlight | fields: lon, level, type, ts
Task: Retrieve level from evaporation with value above the AVG(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081642 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: ts, reading, value, depth
Sensor: cloud_cover | fields: unit, depth, value, type
Task: Get lat from evaporation where unit appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081643 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, lat, type, reading
Sensor: lightning | fields: reading, lon, ts, value
Task: Get value from sunlight where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081644 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: ts, lon, reading, value
Sensor: soil_moisture | fields: ts, value, lat, level
Task: Fetch value from evaporation where depth is greater than the average of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081645 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: type, unit, level, lat
Sensor: dew_point | fields: value, lat, unit, level
Task: Fetch reading from frost where type exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081646 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, lat, type, value
Sensor: humidity | fields: depth, qc, value, type
Task: Retrieve level from frost with value above the SUM(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081647 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: value, reading, unit, ts
Sensor: drought_index | fields: value, lat, type, unit
Task: Fetch lat from dew_point where depth is greater than the total of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081648 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, type, ts, lat
Sensor: soil_moisture | fields: qc, unit, value, lat
Task: Fetch reading from sunlight where value is greater than the average of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081649 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: level, reading, qc, lon
Sensor: snow_depth | fields: level, type, value, qc
Task: Fetch reading from visibility that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081650 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, reading, level, value
Sensor: visibility | fields: level, unit, lat, depth
Task: Get lon from snow_depth where unit appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081651 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, qc, unit, level
Sensor: humidity | fields: unit, reading, depth, qc
Task: Retrieve depth from soil_moisture whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081652 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, depth, lat, value
Sensor: humidity | fields: value, lat, reading, depth
Task: Retrieve lon from pressure with depth above the SUM(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081653 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, unit, depth, qc
Sensor: temperature | fields: level, ts, lon, reading
Task: Retrieve level from wind_speed that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081654 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lat, qc, lon, type
Sensor: pressure | fields: lon, level, ts, value
Task: Retrieve lon from dew_point that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081655 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, level, lat, value
Sensor: cloud_cover | fields: type, reading, depth, unit
Task: Get lat from soil_moisture where depth appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081656 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, level, unit, depth
Sensor: humidity | fields: ts, unit, depth, value
Task: Retrieve lon from snow_depth with reading above the MAX(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081657 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: unit, depth, value, type
Sensor: snow_depth | fields: ts, lon, value, level
Task: Retrieve lat from lightning that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081658 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: qc, lat, level, unit
Sensor: soil_moisture | fields: ts, lat, qc, lon
Task: Get lat from evaporation where depth appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081659 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, ts, level, reading
Sensor: lightning | fields: lat, qc, ts, type
Task: Fetch level from soil_moisture that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081660 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: depth, type, ts, unit
Sensor: drought_index | fields: unit, lat, reading, type
Task: Get lat from evaporation where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081661 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, type, reading, qc
Sensor: humidity | fields: level, reading, lon, value
Task: Retrieve lon from cloud_cover whose type is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081662 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, reading, value, unit
Sensor: air_quality | fields: lat, qc, lon, value
Task: Retrieve value from rainfall whose unit is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081663 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: type, level, qc, depth
Sensor: wind_speed | fields: ts, level, type, qc
Task: Fetch level from frost where ts exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081664 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, lat, level, qc
Sensor: drought_index | fields: level, value, qc, type
Task: Retrieve lon from sunlight with value above the SUM(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"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_081665 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, unit, type, lon
Sensor: drought_index | fields: lat, lon, value, unit
Task: Retrieve value from snow_depth with depth above the AVG(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081666 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, reading, ts, value
Sensor: evaporation | fields: unit, reading, value, level
Task: Fetch lat from temperature that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081667 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: type, ts, level, qc
Sensor: sunlight | fields: type, qc, depth, lat
Task: Retrieve lon from drought_index that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081668 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, type, unit, lat
Sensor: wind_speed | fields: lon, unit, value, ts
Task: Retrieve depth from soil_moisture that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081669 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, qc, reading, lat
Sensor: humidity | fields: type, ts, depth, level
Task: Retrieve lon from cloud_cover that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081670 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lon, lat, reading, depth
Sensor: lightning | fields: level, type, lat, lon
Task: Get depth from uv_index where qc appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081671 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, qc, lat, ts
Sensor: air_quality | fields: type, value, level, depth
Task: Get reading from wind_speed where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081672 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, lat, unit, qc
Sensor: evaporation | fields: lon, unit, reading, level
Task: Fetch level from turbidity that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081673 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: level, lat, ts, depth
Sensor: frost | fields: qc, unit, depth, level
Task: Get depth from dew_point where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081674 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: unit, lon, depth, level
Sensor: air_quality | fields: type, value, reading, qc
Task: Get value from sunlight where type appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081675 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, qc, level, value
Sensor: cloud_cover | fields: type, value, unit, qc
Task: Retrieve reading from dew_point whose qc is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081676 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lat, type, reading, ts
Sensor: humidity | fields: qc, value, level, lon
Task: Fetch reading from lightning where depth is greater than the average of depth in humidity for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081677 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lat, unit, qc, depth
Sensor: sunlight | fields: ts, unit, level, value
Task: Retrieve lon from rainfall whose qc is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081678 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, lat, qc, unit
Sensor: soil_moisture | fields: type, unit, depth, lon
Task: Fetch depth from pressure where depth is greater than the minimum of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081679 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: ts, qc, value, type
Sensor: evaporation | fields: reading, depth, qc, level
Task: Get value from air_quality where value exceeds the total value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081680 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, unit, level, type
Sensor: visibility | fields: level, depth, ts, value
Task: Get depth from sunlight where depth exceeds the total value from visibility for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081681 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: unit, lon, reading, type
Sensor: uv_index | fields: lon, unit, type, reading
Task: Get depth from air_quality where reading exceeds the count of depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081682 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, qc, lon, lat
Sensor: lightning | fields: lon, qc, value, ts
Task: Retrieve lat from wind_speed that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081683 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, depth, reading, value
Sensor: dew_point | fields: level, depth, unit, reading
Task: Fetch depth from sunlight that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081684 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: level, lon, qc, depth
Sensor: dew_point | fields: value, type, ts, unit
Task: Fetch level from frost that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081685 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: value, reading, unit, lon
Sensor: lightning | fields: lat, qc, unit, type
Task: Get depth from rainfall where value exceeds the count of reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081686 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: ts, reading, lon, value
Sensor: wind_speed | fields: qc, value, lon, reading
Task: Retrieve lon from temperature that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081687 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, reading, ts, value
Sensor: frost | fields: type, depth, unit, level
Task: Get reading from soil_moisture where reading exceeds the maximum depth from frost for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081688 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: value, qc, level, lon
Sensor: rainfall | fields: type, lon, lat, ts
Task: Retrieve level from evaporation whose depth is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081689 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, value, reading, level
Sensor: pressure | fields: lon, qc, unit, ts
Task: Get value from cloud_cover where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081690 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: reading, unit, level, depth
Sensor: soil_moisture | fields: value, type, lat, lon
Task: Retrieve lat from drought_index whose qc is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081691 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: reading, qc, lat, ts
Sensor: soil_moisture | fields: level, reading, ts, lon
Task: Fetch lat from drought_index where depth is greater than the maximum of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081692 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, type, qc, lon
Sensor: snow_depth | fields: lon, qc, unit, lat
Task: Get reading from cloud_cover where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081693 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: type, value, lat, ts
Sensor: lightning | fields: unit, depth, value, ts
Task: Get depth from sunlight where depth appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081694 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: type, lat, unit, ts
Sensor: humidity | fields: depth, type, level, ts
Task: Get lat from air_quality where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081695 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, value, depth, lat
Sensor: evaporation | fields: type, depth, lon, qc
Task: Get lat from cloud_cover where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081696 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lon, qc, level, value
Sensor: pressure | fields: level, lat, lon, reading
Task: Get lon from turbidity where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081697 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: lon, reading, unit, value
Sensor: rainfall | fields: value, depth, lat, ts
Task: Get depth from evaporation where unit appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081698 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lat, value, reading, level
Sensor: dew_point | fields: value, level, lat, ts
Task: Fetch value from visibility that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"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_081699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.