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: pressure | code: prt | fields: unit, depth, ts, lon
Sensor: frost | fields: value, ts, unit, depth
Task: Retrieve depth from pressure with reading above the COUNT(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049600 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: qc, ts, lon, lat
Sensor: lightning | fields: reading, ts, value, type
Task: Get lat from uv_index where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049601 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lat, ts, lon, reading
Sensor: uv_index | fields: unit, value, lon, depth
Task: Retrieve depth from visibility with depth above the SUM(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049602 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: value, lat, level, reading
Sensor: humidity | fields: unit, qc, lon, ts
Task: Get depth from sunlight where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049603 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: type, reading, lon, depth
Sensor: evaporation | fields: type, unit, ts, depth
Task: Fetch reading from humidity that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049604 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, lat, value, unit
Sensor: evaporation | fields: depth, unit, lon, level
Task: Fetch reading from cloud_cover where reading is greater than the total of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049605 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, lat, level, reading
Sensor: evaporation | fields: unit, ts, value, type
Task: Fetch lon from soil_moisture where reading is greater than the maximum of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049606 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, unit, ts, qc
Sensor: soil_moisture | fields: depth, lon, lat, ts
Task: Fetch lon from wind_speed where qc exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049607 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lon, depth, type, ts
Sensor: lightning | fields: lon, reading, lat, level
Task: Retrieve lon from frost whose depth is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049608 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lon, qc, level, value
Sensor: temperature | fields: lon, lat, ts, level
Task: Retrieve value from frost that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049609 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: qc, reading, depth, type
Sensor: humidity | fields: type, reading, value, ts
Task: Get lon from temperature where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049610 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: type, qc, ts, reading
Sensor: air_quality | fields: reading, depth, qc, ts
Task: Get reading from dew_point where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049611 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, depth, value, type
Sensor: dew_point | fields: value, level, reading, qc
Task: Get lon from wind_speed where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049612 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, type, lat, qc
Sensor: turbidity | fields: lat, lon, value, unit
Task: Get value from wind_speed where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049613 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: ts, lat, depth, lon
Sensor: turbidity | fields: reading, value, ts, lon
Task: Retrieve depth from rainfall that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049614 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, value, type, qc
Sensor: temperature | fields: level, type, depth, unit
Task: Get depth from wind_speed where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049615 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: level, depth, qc, lon
Sensor: drought_index | fields: lat, type, qc, lon
Task: Retrieve reading from evaporation with depth above the SUM(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049616 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: value, lat, level, type
Sensor: visibility | fields: type, lon, value, depth
Task: Retrieve depth from snow_depth with value above the AVG(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049617 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: level, qc, lon, value
Sensor: visibility | fields: type, reading, qc, value
Task: Fetch lat from uv_index that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049618 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, qc, type, level
Sensor: rainfall | fields: value, ts, lat, level
Task: Fetch level from soil_moisture that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049619 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, type, lon, depth
Sensor: lightning | fields: reading, qc, type, value
Task: Get value from cloud_cover where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049620 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: value, unit, level, depth
Sensor: dew_point | fields: unit, ts, level, qc
Task: Fetch lon from frost where depth is greater than the count of of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049621 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, type, reading, lat
Sensor: dew_point | fields: depth, lon, lat, unit
Task: Retrieve reading from cloud_cover with reading above the COUNT(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049622 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, type, level, lon
Sensor: evaporation | fields: unit, lon, level, ts
Task: Retrieve reading from dew_point that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049623 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: value, type, unit, ts
Sensor: uv_index | fields: depth, type, lat, lon
Task: Retrieve lon from sunlight with value above the AVG(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049624 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, lon, depth, ts
Sensor: uv_index | fields: ts, type, reading, qc
Task: Fetch value from temperature where ts exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049625 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: type, lon, level, unit
Sensor: sunlight | fields: unit, depth, value, level
Task: Fetch reading from snow_depth that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049626 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: reading, depth, level, ts
Sensor: humidity | fields: qc, level, unit, type
Task: Retrieve lat from visibility whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049627 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lon, ts, level, value
Sensor: turbidity | fields: value, lon, type, unit
Task: Retrieve value from drought_index with reading above the SUM(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049628 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: ts, reading, type, lat
Sensor: evaporation | fields: ts, qc, value, reading
Task: Fetch reading from dew_point that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049629 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: value, reading, unit, type
Sensor: turbidity | fields: ts, depth, lat, value
Task: Fetch value from visibility where depth is greater than the maximum of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049630 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: value, lat, reading, level
Sensor: snow_depth | fields: reading, qc, unit, depth
Task: Retrieve lon from lightning whose depth is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049631 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: value, depth, qc, ts
Sensor: rainfall | fields: lat, type, reading, lon
Task: Retrieve depth from evaporation with reading above the AVG(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049632 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, depth, lat, level
Sensor: wind_speed | fields: ts, value, type, level
Task: Fetch lat from temperature where depth exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049633 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: type, reading, unit, level
Sensor: temperature | fields: depth, value, qc, unit
Task: Get reading from sunlight where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049634 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lat, value, level, type
Sensor: frost | fields: depth, type, value, reading
Task: Get value from visibility where depth exceeds the average depth from frost for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049635 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, lat, value, qc
Sensor: rainfall | fields: value, type, unit, depth
Task: Fetch lon from soil_moisture where qc exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049636 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: ts, level, lon, reading
Sensor: frost | fields: type, qc, value, lon
Task: Retrieve lon from lightning with reading above the COUNT(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049637 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lat, lon, qc, level
Sensor: air_quality | fields: type, qc, depth, lat
Task: Fetch lat from humidity where depth is greater than the count of of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049638 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: value, unit, lon, ts
Sensor: temperature | fields: lat, lon, value, qc
Task: Retrieve lon from snow_depth whose ts is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049639 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, lon, qc, level
Sensor: lightning | fields: lat, depth, level, reading
Task: Retrieve value from cloud_cover with depth above the COUNT(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049640 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: ts, qc, lon, value
Sensor: temperature | fields: ts, level, lon, reading
Task: Retrieve level from turbidity that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049641 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, qc, lat, ts
Sensor: sunlight | fields: qc, depth, lat, level
Task: Get reading from visibility where ts appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049642 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, lon, qc, lat
Sensor: frost | fields: value, lat, ts, type
Task: Fetch value from soil_moisture where reading is greater than the maximum of reading in frost for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049643 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: value, reading, level, lat
Sensor: wind_speed | fields: reading, level, type, lat
Task: Retrieve reading from evaporation whose unit is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049644 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lon, level, lat, value
Sensor: snow_depth | fields: reading, qc, type, level
Task: Fetch value from frost that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049645 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: ts, lat, unit, reading
Sensor: cloud_cover | fields: qc, type, lon, lat
Task: Retrieve reading from lightning with depth above the MIN(value) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049646 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, type, ts, reading
Sensor: cloud_cover | fields: lat, type, qc, ts
Task: Retrieve lon from soil_moisture whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049647 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: value, qc, reading, lon
Sensor: snow_depth | fields: lat, unit, value, reading
Task: Fetch level from evaporation where ts exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049648 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: level, type, ts, lat
Sensor: visibility | fields: depth, unit, lon, qc
Task: Retrieve level from sunlight that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049649 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: ts, type, level, unit
Sensor: snow_depth | fields: lat, unit, depth, qc
Task: Get lon from sunlight where type appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049650 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: value, lat, unit, ts
Sensor: drought_index | fields: depth, type, ts, lon
Task: Get value from temperature where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049651 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: unit, lon, qc, type
Sensor: sunlight | fields: value, reading, type, level
Task: Get lon from dew_point where depth exceeds the average reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049652 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: level, lon, depth, type
Sensor: uv_index | fields: type, level, reading, unit
Task: Get level from visibility where depth exceeds the maximum reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049653 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: level, depth, value, qc
Sensor: snow_depth | fields: unit, lat, depth, lon
Task: Fetch value from evaporation where reading is greater than the average of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049654 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: unit, lat, qc, type
Sensor: humidity | fields: reading, level, type, qc
Task: Fetch lat from temperature where depth is greater than the average of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049655 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, unit, lon, value
Sensor: uv_index | fields: level, reading, depth, lat
Task: Get depth from wind_speed where value exceeds the minimum reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049656 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: type, value, lat, qc
Sensor: snow_depth | fields: type, ts, depth, qc
Task: Retrieve level from wind_speed with value above the MIN(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049657 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, value, lon, depth
Sensor: air_quality | fields: depth, lat, unit, reading
Task: Get value from soil_moisture where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049658 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: level, type, qc, value
Sensor: frost | fields: qc, level, ts, lat
Task: Retrieve value from dew_point that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049659 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: value, unit, type, ts
Sensor: cloud_cover | fields: type, qc, reading, ts
Task: Retrieve reading from snow_depth whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049660 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: qc, unit, value, reading
Sensor: rainfall | fields: type, lat, ts, lon
Task: Retrieve lon from air_quality whose qc is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049661 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: level, ts, lat, depth
Sensor: visibility | fields: lon, reading, type, lat
Task: Retrieve level from air_quality whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049662 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, lat, type, qc
Sensor: evaporation | fields: depth, reading, value, unit
Task: Retrieve value from dew_point that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049663 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, level, reading, value
Sensor: sunlight | fields: lat, level, unit, type
Task: Get reading from cloud_cover where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049664 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: qc, lat, type, level
Sensor: drought_index | fields: lat, ts, type, unit
Task: Retrieve lat from pressure that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049665 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: qc, level, reading, unit
Sensor: turbidity | fields: ts, depth, reading, value
Task: Retrieve lat from uv_index with value above the SUM(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049666 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lon, value, lat, depth
Sensor: wind_speed | fields: value, unit, reading, level
Task: Fetch reading from evaporation where reading is greater than the count of of depth in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049667 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lat, ts, level, lon
Sensor: air_quality | fields: value, lon, reading, unit
Task: Retrieve depth from frost whose ts is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049668 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: type, level, lon, ts
Sensor: visibility | fields: level, value, type, lat
Task: Retrieve lat from air_quality with reading above the MIN(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049669 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, level, ts, type
Sensor: air_quality | fields: qc, lat, depth, ts
Task: Get reading from drought_index where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049670 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lat, qc, depth, lon
Sensor: air_quality | fields: value, level, lon, reading
Task: Fetch depth from lightning where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049671 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, value, qc, unit
Sensor: snow_depth | fields: reading, value, unit, ts
Task: Get level from cloud_cover where unit appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049672 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: reading, qc, ts, type
Sensor: uv_index | fields: level, unit, lat, reading
Task: Retrieve lat from temperature whose depth is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049673 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lat, qc, type, lon
Sensor: soil_moisture | fields: type, reading, unit, depth
Task: Retrieve level from turbidity that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049674 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, lon, type, depth
Sensor: frost | fields: type, lat, level, ts
Task: Get depth from wind_speed where depth appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049675 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: depth, type, level, value
Sensor: rainfall | fields: lon, depth, lat, type
Task: Fetch value from drought_index that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049676 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lon, depth, unit, type
Sensor: evaporation | fields: depth, ts, value, type
Task: Get depth from lightning where type appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049677 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: unit, reading, level, depth
Sensor: wind_speed | fields: unit, depth, lat, ts
Task: Get depth from sunlight where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049678 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: type, qc, lat, lon
Sensor: evaporation | fields: lon, lat, unit, value
Task: Fetch depth from frost where depth is greater than the minimum of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049679 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, reading, ts, value
Sensor: drought_index | fields: ts, level, qc, reading
Task: Fetch depth from snow_depth that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049680 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: reading, type, lon, unit
Sensor: humidity | fields: level, ts, reading, depth
Task: Get depth from pressure where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049681 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, type, lon, ts
Sensor: dew_point | fields: qc, lat, reading, level
Task: Fetch level from drought_index that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049682 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: ts, type, depth, value
Sensor: temperature | fields: unit, depth, value, lon
Task: Fetch level from pressure where depth is greater than the count of of depth in temperature for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049683 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: value, ts, lon, depth
Sensor: air_quality | fields: unit, value, depth, level
Task: Retrieve lat from sunlight that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049684 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: unit, lon, value, qc
Sensor: lightning | fields: qc, lon, type, level
Task: Fetch depth from temperature that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049685 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: depth, type, unit, reading
Sensor: evaporation | fields: lat, value, reading, depth
Task: Retrieve value from air_quality whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049686 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, type, lat, depth
Sensor: rainfall | fields: qc, reading, type, lon
Task: Fetch reading from soil_moisture where value is greater than the minimum of reading in rainfall for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049687 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: value, level, lon, qc
Sensor: air_quality | fields: type, qc, value, level
Task: Get level from wind_speed where value exceeds the total value from air_quality for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049688 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, reading, unit, level
Sensor: sunlight | fields: value, unit, qc, lat
Task: Retrieve depth from snow_depth with depth above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"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_049689 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: level, unit, qc, ts
Sensor: drought_index | fields: lat, ts, lon, type
Task: Retrieve reading from sunlight with value above the AVG(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049690 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, depth, type, level
Sensor: temperature | fields: value, lat, unit, ts
Task: Get depth from air_quality where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049691 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, unit, ts, qc
Sensor: evaporation | fields: level, ts, type, depth
Task: Get reading from sunlight where ts appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049692 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, level, lon, value
Sensor: lightning | fields: lon, unit, lat, value
Task: Get lat from pressure where reading exceeds the minimum reading from lightning for the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049693 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, value, lat, qc
Sensor: humidity | fields: lon, lat, depth, reading
Task: Get lat from soil_moisture where depth exceeds the maximum value from humidity for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049694 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, ts, depth, level
Sensor: snow_depth | fields: value, qc, type, lon
Task: Retrieve lon from lightning with reading above the COUNT(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049695 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: depth, unit, ts, value
Sensor: sunlight | fields: lon, qc, ts, level
Task: Get reading from dew_point where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049696 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: depth, reading, unit, lat
Sensor: soil_moisture | fields: reading, type, unit, ts
Task: Retrieve value from drought_index whose type is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049697 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, lon, value, type
Sensor: snow_depth | fields: lat, lon, depth, qc
Task: Fetch value from soil_moisture where depth exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049698 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: ts, lon, value, level
Sensor: pressure | fields: level, reading, lat, type
Task: Get lon from rainfall where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.