variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, level, lat, value
Sensor: frost | fields: reading, ts, value, qc
Task: Fetch level from rainfall where type exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021600 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: level, type, lat, value
Sensor: wind_speed | fields: depth, qc, reading, lon
Task: Retrieve lon from lightning that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"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_021601 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, ts, level, reading
Sensor: evaporation | fields: qc, ts, value, depth
Task: Retrieve depth from lightning with reading above the SUM(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021602 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: type, value, depth, qc
Sensor: visibility | fields: unit, value, level, depth
Task: Retrieve level from air_quality with depth above the MIN(reading) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021603 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, ts, qc, value
Sensor: sunlight | fields: ts, type, level, reading
Task: Fetch lat from turbidity where depth is greater than the average of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021604 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, level, lon, value
Sensor: frost | fields: level, lat, depth, type
Task: Get lon from soil_moisture where depth appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021605 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: type, unit, value, ts
Sensor: turbidity | fields: lat, type, qc, ts
Task: Retrieve reading from dew_point whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021606 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, unit, reading, value
Sensor: sunlight | fields: lat, level, type, unit
Task: Retrieve reading from snow_depth whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021607 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, qc, lat, reading
Sensor: snow_depth | fields: reading, qc, lon, lat
Task: Fetch level from frost where depth is greater than the maximum of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021608 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: unit, type, qc, value
Sensor: soil_moisture | fields: ts, type, lon, depth
Task: Fetch lon from temperature where value is greater than the total of reading in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021609 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, ts, reading, level
Sensor: rainfall | fields: level, reading, unit, qc
Task: Retrieve lon from cloud_cover whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021610 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, unit, type, depth
Sensor: evaporation | fields: lon, type, depth, lat
Task: Get level from snow_depth where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021611 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: type, qc, unit, reading
Sensor: pressure | fields: ts, type, unit, lat
Task: Get value from dew_point where value exceeds the minimum depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021612 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lat, unit, type, lon
Sensor: soil_moisture | fields: depth, unit, level, lon
Task: Retrieve value from turbidity with value above the MIN(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021613 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: level, type, unit, qc
Sensor: temperature | fields: lat, level, reading, qc
Task: Retrieve depth from uv_index that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021614 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, level, lat, reading
Sensor: sunlight | fields: unit, value, depth, ts
Task: Retrieve value from uv_index with depth above the MAX(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021615 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: type, qc, reading, value
Sensor: visibility | fields: lon, depth, level, ts
Task: Get lat from wind_speed where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021616 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: ts, lat, type, lon
Sensor: evaporation | fields: level, lon, value, reading
Task: Fetch level from sunlight where reading is greater than the minimum of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021617 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: unit, value, level, depth
Sensor: dew_point | fields: reading, unit, lat, lon
Task: Retrieve value from temperature with reading above the MIN(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021618 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: unit, ts, type, qc
Sensor: snow_depth | fields: depth, ts, unit, lat
Task: Retrieve lon from lightning that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021619 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, level, lon, type
Sensor: drought_index | fields: lon, value, type, unit
Task: Get lon from cloud_cover where unit appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021620 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: value, depth, lon, ts
Sensor: uv_index | fields: unit, lon, level, reading
Task: Fetch value from temperature that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021621 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lon, qc, reading, ts
Sensor: drought_index | fields: value, depth, lon, level
Task: Retrieve depth from dew_point with reading above the MIN(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021622 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, level, lat, unit
Sensor: air_quality | fields: lat, reading, level, unit
Task: Get lat from pressure where ts appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021623 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, type, level, lat
Sensor: lightning | fields: lat, ts, qc, reading
Task: Get lat from wind_speed where ts appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021624 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, depth, lat, ts
Sensor: lightning | fields: ts, qc, reading, depth
Task: Get lon from rainfall where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021625 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, qc, level, ts
Sensor: humidity | fields: lat, reading, type, qc
Task: Retrieve lat from soil_moisture whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021626 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, depth, ts, level
Sensor: temperature | fields: qc, level, reading, unit
Task: Fetch lon from lightning where reading is greater than the minimum of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021627 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lat, reading, lon, depth
Sensor: air_quality | fields: ts, lat, depth, type
Task: Retrieve depth from humidity with reading above the COUNT(depth) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021628 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: type, depth, ts, unit
Sensor: pressure | fields: depth, lon, ts, unit
Task: Get depth from temperature where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021629 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lat, reading, lon, ts
Sensor: evaporation | fields: depth, level, value, lat
Task: Retrieve lat from temperature that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021630 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: value, lat, ts, qc
Sensor: rainfall | fields: reading, level, depth, lat
Task: Retrieve reading from uv_index whose unit is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021631 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: depth, ts, lat, reading
Sensor: soil_moisture | fields: qc, unit, lat, reading
Task: Get lat from dew_point where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021632 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: level, lon, value, depth
Sensor: uv_index | fields: ts, type, qc, value
Task: Retrieve level from frost that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021633 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: level, lat, type, depth
Sensor: lightning | fields: type, unit, qc, reading
Task: Get lat from visibility where ts appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021634 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: reading, depth, value, ts
Sensor: frost | fields: reading, level, value, depth
Task: Fetch level from evaporation where depth exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021635 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: qc, value, reading, lon
Sensor: wind_speed | fields: depth, level, lon, qc
Task: Fetch depth from air_quality where ts exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021636 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: type, lat, depth, reading
Sensor: temperature | fields: depth, unit, qc, reading
Task: Retrieve depth from wind_speed with reading above the SUM(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021637 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: reading, type, ts, qc
Sensor: sunlight | fields: unit, type, level, reading
Task: Retrieve reading from pressure with value above the MAX(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021638 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: depth, reading, qc, unit
Sensor: air_quality | fields: reading, lat, lon, depth
Task: Get lat from dew_point where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021639 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: unit, reading, value, qc
Sensor: humidity | fields: lon, unit, level, reading
Task: Fetch reading from uv_index that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021640 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lat, unit, level, ts
Sensor: wind_speed | fields: qc, value, lon, type
Task: Get depth from air_quality where type appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021641 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, level, type, ts
Sensor: humidity | fields: value, lon, unit, qc
Task: Get reading from cloud_cover where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021642 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, type, depth, ts
Sensor: frost | fields: reading, type, unit, depth
Task: Fetch value from snow_depth where reading is greater than the total of depth in frost for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021643 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, ts, qc, value
Sensor: temperature | fields: value, unit, level, ts
Task: Retrieve lat from snow_depth whose depth is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021644 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lon, unit, ts, depth
Sensor: frost | fields: lat, lon, type, value
Task: Retrieve reading from uv_index with value above the AVG(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021645 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: ts, lat, reading, value
Sensor: lightning | fields: reading, depth, unit, lon
Task: Retrieve depth from dew_point that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021646 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, depth, type, lon
Sensor: humidity | fields: qc, lon, depth, lat
Task: Fetch value from soil_moisture that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021647 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, type, reading, lon
Sensor: turbidity | fields: level, unit, value, type
Task: Get lat from soil_moisture where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021648 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, type, unit, level
Sensor: air_quality | fields: value, level, depth, lat
Task: Get lat from soil_moisture where type appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021649 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: value, type, level, qc
Sensor: snow_depth | fields: value, lat, qc, depth
Task: Get value from rainfall where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021650 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, unit, qc, depth
Sensor: snow_depth | fields: ts, reading, value, depth
Task: Retrieve lon from soil_moisture that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021651 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, level, ts, lon
Sensor: drought_index | fields: level, qc, unit, lon
Task: Get lon from lightning where qc appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021652 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, depth, type, qc
Sensor: drought_index | fields: reading, type, lon, qc
Task: Fetch reading from cloud_cover where depth is greater than the average of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021653 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: lon, unit, depth, level
Sensor: air_quality | fields: level, lat, ts, qc
Task: Retrieve lon from frost whose qc is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021654 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, depth, lat, lon
Sensor: temperature | fields: value, level, qc, reading
Task: Retrieve reading from pressure whose type is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021655 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lon, type, lat, value
Sensor: evaporation | fields: lon, lat, qc, type
Task: Fetch depth from dew_point that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021656 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: level, lat, value, unit
Sensor: drought_index | fields: reading, unit, ts, qc
Task: Get level from visibility where unit appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021657 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, ts, type, level
Sensor: turbidity | fields: lat, type, level, qc
Task: Fetch lat from sunlight where qc exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021658 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, value, qc, unit
Sensor: visibility | fields: depth, qc, type, level
Task: Retrieve lon from frost that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021659 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lon, type, lat, value
Sensor: snow_depth | fields: ts, qc, lon, depth
Task: Retrieve lon from air_quality with depth above the COUNT(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021660 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, type, level, lon
Sensor: turbidity | fields: lon, depth, unit, qc
Task: Fetch lon from snow_depth where unit exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021661 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: type, lat, unit, lon
Sensor: humidity | fields: value, level, unit, type
Task: Get depth from uv_index where unit appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021662 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: value, lat, lon, depth
Sensor: snow_depth | fields: value, type, lat, unit
Task: Fetch depth from dew_point that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021663 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: type, level, lat, qc
Sensor: soil_moisture | fields: ts, lat, level, type
Task: Retrieve lon from rainfall whose unit is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021664 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: qc, level, depth, ts
Sensor: turbidity | fields: unit, lon, ts, type
Task: Fetch lat from humidity where reading is greater than the average of depth in turbidity for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"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_021665 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, value, type, depth
Sensor: humidity | fields: level, lat, reading, depth
Task: Fetch value from snow_depth where qc exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021666 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: qc, unit, level, value
Sensor: rainfall | fields: depth, lon, type, ts
Task: Retrieve level from air_quality with reading above the MIN(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021667 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: value, depth, type, level
Sensor: dew_point | fields: level, ts, unit, qc
Task: Retrieve lat from wind_speed with depth above the MAX(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021668 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lat, qc, depth, value
Sensor: soil_moisture | fields: level, lon, unit, type
Task: Retrieve depth from lightning with reading above the AVG(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021669 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: qc, depth, ts, value
Sensor: lightning | fields: value, lon, unit, qc
Task: Retrieve lat from dew_point that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021670 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: value, ts, depth, type
Sensor: drought_index | fields: lat, qc, reading, level
Task: Fetch reading from pressure that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021671 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lon, qc, type, unit
Sensor: visibility | fields: lon, depth, value, level
Task: Fetch lon from lightning that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021672 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: unit, ts, qc, lon
Sensor: rainfall | fields: ts, level, depth, value
Task: Fetch lon from evaporation where type exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021673 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lat, lon, qc, type
Sensor: air_quality | fields: lon, value, reading, unit
Task: Get value from evaporation where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021674 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: qc, depth, ts, lat
Sensor: sunlight | fields: lon, depth, lat, level
Task: Retrieve lat from humidity with depth above the MIN(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021675 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: level, depth, value, qc
Sensor: air_quality | fields: value, reading, depth, level
Task: Retrieve value from wind_speed with value above the AVG(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021676 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: level, ts, type, unit
Sensor: frost | fields: type, depth, lat, unit
Task: Get value from air_quality where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021677 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, lon, value, level
Sensor: evaporation | fields: qc, value, lon, type
Task: Fetch depth from soil_moisture where unit exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021678 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: type, unit, value, depth
Sensor: soil_moisture | fields: qc, unit, reading, lat
Task: Fetch lat from turbidity where depth is greater than the maximum of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021679 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, lat, lon, level
Sensor: snow_depth | fields: reading, level, lon, qc
Task: Fetch level from soil_moisture that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021680 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, lat, unit, level
Sensor: uv_index | fields: qc, depth, lon, level
Task: Get value from wind_speed where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021681 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lat, unit, value, lon
Sensor: lightning | fields: lat, ts, depth, level
Task: Get lon from pressure where depth appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021682 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, value, unit, ts
Sensor: air_quality | fields: reading, unit, qc, lon
Task: Retrieve lat from sunlight whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021683 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, type, level, qc
Sensor: temperature | fields: lat, qc, type, reading
Task: Retrieve value from soil_moisture with depth above the COUNT(reading) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021684 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: lat, level, reading, depth
Sensor: rainfall | fields: lat, value, reading, type
Task: Retrieve depth from evaporation with depth above the SUM(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021685 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: unit, level, lon, reading
Sensor: air_quality | fields: reading, ts, type, level
Task: Get reading from frost where type appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021686 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: level, reading, qc, depth
Sensor: drought_index | fields: depth, qc, lat, level
Task: Fetch value from frost where depth is greater than the total of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021687 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: level, ts, type, lon
Sensor: humidity | fields: level, qc, reading, unit
Task: Retrieve level from wind_speed that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021688 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: level, qc, reading, type
Sensor: turbidity | fields: reading, depth, type, lat
Task: Get reading from evaporation where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021689 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lon, unit, qc, value
Sensor: air_quality | fields: reading, qc, lat, value
Task: Retrieve level from frost that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021690 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: ts, lat, level, lon
Sensor: humidity | fields: unit, qc, value, ts
Task: Retrieve depth from drought_index whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021691 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: level, lat, type, value
Sensor: turbidity | fields: ts, reading, qc, depth
Task: Fetch lat from visibility that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021692 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: level, value, lon, depth
Sensor: turbidity | fields: unit, value, type, reading
Task: Retrieve value from drought_index with reading above the COUNT(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021693 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, unit, qc, ts
Sensor: wind_speed | fields: lat, level, value, qc
Task: Get value from snow_depth where reading exceeds the count of reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021694 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: ts, value, lat, level
Sensor: snow_depth | fields: value, depth, lon, lat
Task: Retrieve level from sunlight that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021695 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: type, reading, unit, ts
Sensor: uv_index | fields: ts, reading, lon, value
Task: Get value from snow_depth where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021696 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: level, reading, value, qc
Sensor: sunlight | fields: lon, qc, reading, level
Task: Get depth from visibility where depth exceeds the average depth from sunlight for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021697 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lat, unit, value, reading
Sensor: lightning | fields: unit, lon, depth, ts
Task: Fetch lon from rainfall that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021698 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: depth, ts, value, lat
Sensor: air_quality | fields: lon, lat, unit, qc
Task: Fetch lat from evaporation where value is greater than the count of of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.