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: mst | fields: type, level, reading, unit
Sensor: frost | fields: ts, unit, lat, depth
Task: Retrieve lat from rainfall whose type is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060600 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, level, qc, unit
Sensor: turbidity | fields: unit, qc, type, ts
Task: Fetch lat from evaporation where depth is greater than the count of of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060601 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, type, level, value
Sensor: drought_index | fields: ts, value, type, lat
Task: Fetch depth from uv_index where value is greater than the total of reading in drought_index for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060602 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: type, lon, unit, level
Sensor: frost | fields: lon, unit, type, value
Task: Fetch depth from sunlight where type exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060603 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: ts, depth, reading, qc
Sensor: uv_index | fields: depth, qc, ts, lon
Task: Fetch lat from drought_index that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060604 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, reading, level, depth
Sensor: cloud_cover | fields: ts, lon, level, value
Task: Fetch reading from wind_speed where value is greater than the total of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060605 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: reading, ts, lat, lon
Sensor: lightning | fields: level, type, qc, depth
Task: Retrieve reading from turbidity that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060606 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: unit, lat, reading, lon
Sensor: humidity | fields: lat, type, ts, qc
Task: Fetch value from lightning that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060607 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: reading, value, unit, depth
Sensor: soil_moisture | fields: level, type, unit, qc
Task: Retrieve lon from humidity with reading above the SUM(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060608 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, level, depth, reading
Sensor: humidity | fields: lon, value, level, depth
Task: Retrieve level from snow_depth with depth above the MAX(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060609 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, ts, lon, depth
Sensor: drought_index | fields: lat, lon, type, depth
Task: Get value from sunlight where depth exceeds the maximum value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060610 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, reading, value, type
Sensor: dew_point | fields: depth, reading, qc, value
Task: Retrieve level from wind_speed whose depth is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060611 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, qc, type, lon
Sensor: pressure | fields: ts, lon, lat, type
Task: Get value from evaporation where ts appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060612 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: value, lon, lat, type
Sensor: humidity | fields: reading, value, lat, ts
Task: Retrieve depth from lightning with value above the AVG(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060613 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, qc, ts, unit
Sensor: pressure | fields: lon, value, type, ts
Task: Get lat from soil_moisture where qc appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060614 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, level, type, depth
Sensor: temperature | fields: lat, unit, qc, level
Task: Fetch reading from snow_depth where ts exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060615 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, reading, qc, lon
Sensor: lightning | fields: ts, qc, type, lon
Task: Fetch reading from rainfall where reading is greater than the maximum of value in lightning for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060616 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: reading, unit, ts, qc
Sensor: dew_point | fields: unit, lat, qc, level
Task: Fetch lat from turbidity where qc exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060617 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, depth, reading, level
Sensor: rainfall | fields: depth, value, qc, lon
Task: Get value from cloud_cover where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060618 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lon, lat, qc, ts
Sensor: pressure | fields: type, lon, depth, ts
Task: Get lon from frost where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060619 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: type, qc, value, level
Sensor: visibility | fields: value, depth, lon, qc
Task: Retrieve value from pressure whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060620 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lon, level, qc, unit
Sensor: pressure | fields: qc, ts, depth, unit
Task: Get lon from frost where ts appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060621 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: qc, depth, value, reading
Sensor: evaporation | fields: reading, value, lat, ts
Task: Get value from turbidity where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060622 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: qc, ts, value, reading
Sensor: sunlight | fields: lat, level, type, qc
Task: Fetch reading from rainfall that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060623 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: ts, type, qc, reading
Sensor: wind_speed | fields: value, lon, type, reading
Task: Fetch value from visibility that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060624 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, lon, qc, lat
Sensor: uv_index | fields: ts, type, lon, qc
Task: Get reading from soil_moisture where reading exceeds the count of reading from uv_index for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060625 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, level, lat, lon
Sensor: visibility | fields: type, lat, level, reading
Task: Fetch level from snow_depth where reading is greater than the count of of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060626 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, depth, unit, ts
Sensor: cloud_cover | fields: type, lon, ts, reading
Task: Get level from wind_speed where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060627 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, level, depth, value
Sensor: visibility | fields: lat, type, qc, depth
Task: Retrieve value from cloud_cover that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060628 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lat, reading, unit, ts
Sensor: drought_index | fields: lon, type, unit, depth
Task: Retrieve value from turbidity whose type is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060629 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, depth, ts, unit
Sensor: lightning | fields: lon, depth, value, type
Task: Get level from rainfall where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060630 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: unit, lat, lon, type
Sensor: wind_speed | fields: qc, unit, value, type
Task: Retrieve lat from rainfall that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060631 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, value, type, level
Sensor: uv_index | fields: depth, unit, lon, ts
Task: Fetch depth from snow_depth where value is greater than the total of value in uv_index for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060632 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, lat, qc, ts
Sensor: sunlight | fields: lat, level, unit, ts
Task: Get lon from cloud_cover where unit appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060633 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, type, unit, qc
Sensor: lightning | fields: level, depth, unit, ts
Task: Retrieve lat from uv_index with reading above the COUNT(depth) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060634 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: lon, depth, type, unit
Sensor: uv_index | fields: unit, value, qc, level
Task: Get depth from sunlight where type appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060635 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: ts, lat, type, lon
Sensor: humidity | fields: ts, lat, level, depth
Task: Fetch reading from sunlight where value is greater than the minimum of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060636 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: ts, unit, type, depth
Sensor: air_quality | fields: depth, reading, ts, lon
Task: Retrieve reading from humidity with depth above the MAX(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060637 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, unit, depth, qc
Sensor: humidity | fields: level, lat, depth, value
Task: Retrieve reading from cloud_cover with depth above the SUM(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060638 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, ts, lon, depth
Sensor: turbidity | fields: reading, qc, depth, level
Task: Retrieve reading from pressure with value above the SUM(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060639 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: unit, depth, reading, ts
Sensor: wind_speed | fields: value, lat, qc, depth
Task: Retrieve value from sunlight with depth above the COUNT(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060640 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lon, type, ts, depth
Sensor: drought_index | fields: lon, type, level, ts
Task: Get lon from rainfall where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060641 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, unit, lat, qc
Sensor: temperature | fields: level, type, value, lat
Task: Retrieve lat from soil_moisture whose ts is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060642 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, lat, unit, ts
Sensor: air_quality | fields: type, unit, lon, ts
Task: Fetch lon from soil_moisture where depth is greater than the count of of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060643 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: qc, level, value, unit
Sensor: soil_moisture | fields: value, qc, ts, level
Task: Retrieve value from rainfall with reading above the COUNT(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060644 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, reading, unit, ts
Sensor: wind_speed | fields: lon, lat, unit, value
Task: Fetch reading from turbidity where reading is greater than the maximum of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060645 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, depth, unit, ts
Sensor: temperature | fields: unit, qc, depth, ts
Task: Fetch depth from air_quality where type exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060646 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, qc, level, ts
Sensor: sunlight | fields: value, lat, lon, ts
Task: Get value from dew_point where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060647 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: type, value, qc, unit
Sensor: snow_depth | fields: reading, level, qc, ts
Task: Get lat from uv_index where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060648 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: type, value, level, lat
Sensor: cloud_cover | fields: level, lon, qc, type
Task: Get value from snow_depth where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060649 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: value, lat, level, reading
Sensor: air_quality | fields: lon, lat, qc, level
Task: Retrieve lat from visibility that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060650 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lon, lat, qc, type
Sensor: temperature | fields: lon, qc, depth, value
Task: Retrieve lon from dew_point that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060651 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: level, type, lon, reading
Sensor: wind_speed | fields: qc, reading, unit, type
Task: Get reading from air_quality where value exceeds the average depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060652 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lat, reading, qc, lon
Sensor: turbidity | fields: lon, level, unit, qc
Task: Get lon from air_quality where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060653 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, qc, lon, unit
Sensor: temperature | fields: ts, qc, type, lat
Task: Fetch level from cloud_cover that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060654 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lat, lon, type, depth
Sensor: visibility | fields: lat, reading, qc, depth
Task: Retrieve lon from evaporation with value above the SUM(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060655 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, lon, qc, ts
Sensor: dew_point | fields: ts, unit, reading, value
Task: Fetch lat from wind_speed that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060656 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: level, value, lat, ts
Sensor: snow_depth | fields: lat, qc, lon, level
Task: Fetch depth from sunlight where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060657 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, depth, reading, qc
Sensor: rainfall | fields: lon, unit, lat, qc
Task: Retrieve value from snow_depth whose unit is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060658 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, ts, depth, lon
Sensor: frost | fields: type, level, lat, depth
Task: Fetch value from cloud_cover where depth is greater than the total of value in frost for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060659 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: ts, type, lat, reading
Sensor: pressure | fields: type, lat, ts, value
Task: Fetch lat from humidity where depth is greater than the count of of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060660 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, lon, reading, level
Sensor: dew_point | fields: depth, level, reading, value
Task: Fetch lat from wind_speed that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060661 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, lon, value, level
Sensor: frost | fields: value, qc, lat, ts
Task: Fetch level from rainfall where type exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060662 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, value, ts, qc
Sensor: sunlight | fields: type, lat, depth, reading
Task: Fetch value from soil_moisture that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060663 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lat, lon, type, value
Sensor: rainfall | fields: value, reading, type, lon
Task: Fetch value from frost where depth is greater than the total of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060664 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, lat, value, qc
Sensor: air_quality | fields: type, lat, unit, value
Task: Get lat from evaporation where depth exceeds the count of value from air_quality for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060665 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, lon, qc, depth
Sensor: frost | fields: value, unit, depth, type
Task: Get lon from soil_moisture where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060666 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: type, depth, reading, ts
Sensor: pressure | fields: level, type, lat, reading
Task: Fetch reading from air_quality where depth is greater than the count of of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060667 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: unit, value, qc, reading
Sensor: rainfall | fields: ts, level, qc, type
Task: Fetch value from air_quality that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060668 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: value, qc, lon, unit
Sensor: drought_index | fields: ts, qc, depth, type
Task: Fetch lon from temperature where reading is greater than the average of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060669 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, depth, ts, unit
Sensor: cloud_cover | fields: level, type, lat, qc
Task: Retrieve lon from visibility with reading above the AVG(value) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060670 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, lon, ts, qc
Sensor: pressure | fields: unit, ts, lon, depth
Task: Get value from wind_speed where reading exceeds the count of reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060671 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: level, reading, type, ts
Sensor: lightning | fields: value, lat, depth, type
Task: Fetch lon from humidity where depth is greater than the total of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060672 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: level, lon, value, unit
Sensor: drought_index | fields: ts, value, level, unit
Task: Get lon from wind_speed where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060673 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, unit, type, level
Sensor: temperature | fields: lat, type, lon, qc
Task: Fetch value from soil_moisture that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060674 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, ts, reading, unit
Sensor: wind_speed | fields: ts, value, reading, qc
Task: Retrieve reading from uv_index whose depth is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060675 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, value, unit, type
Sensor: humidity | fields: lon, unit, type, depth
Task: Fetch level from wind_speed where reading is greater than the minimum of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"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_060676 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: qc, value, reading, level
Sensor: uv_index | fields: level, depth, unit, ts
Task: Fetch depth from dew_point that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060677 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lon, ts, unit, level
Sensor: cloud_cover | fields: reading, type, lon, depth
Task: Fetch lat from dew_point where value is greater than the total of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060678 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lon, level, unit, qc
Sensor: dew_point | fields: unit, depth, qc, ts
Task: Retrieve depth from rainfall that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060679 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, qc, lon, type
Sensor: uv_index | fields: type, value, reading, level
Task: Fetch depth from air_quality where value is greater than the average of value in uv_index for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060680 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, unit, type, lon
Sensor: drought_index | fields: type, depth, reading, lat
Task: Get lat from evaporation where type appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060681 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: value, qc, depth, ts
Sensor: turbidity | fields: value, lat, level, depth
Task: Fetch lat from drought_index where depth is greater than the maximum of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060682 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: type, depth, ts, value
Sensor: dew_point | fields: lat, value, depth, reading
Task: Get level from visibility where type appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060683 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: type, reading, ts, lon
Sensor: humidity | fields: type, value, level, unit
Task: Retrieve depth from wind_speed whose ts is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060684 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: level, reading, type, ts
Sensor: lightning | fields: qc, lon, ts, unit
Task: Fetch reading from dew_point that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060685 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, lat, value, qc
Sensor: drought_index | fields: lon, reading, value, qc
Task: Fetch lat from snow_depth where value is greater than the total of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060686 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: depth, type, level, unit
Sensor: snow_depth | fields: unit, depth, level, ts
Task: Fetch level from frost that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060687 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: qc, unit, reading, lat
Sensor: rainfall | fields: value, reading, level, lat
Task: Fetch lon from sunlight where qc exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060688 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lon, ts, unit, level
Sensor: lightning | fields: level, lon, lat, reading
Task: Fetch value from drought_index where reading is greater than the maximum of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060689 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: type, reading, qc, lat
Sensor: frost | fields: lon, depth, lat, unit
Task: Retrieve depth from air_quality with depth above the AVG(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060690 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: ts, depth, value, type
Sensor: rainfall | fields: lat, lon, level, ts
Task: Get reading from sunlight where value exceeds the count of reading from rainfall for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060691 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, lon, qc, reading
Sensor: temperature | fields: type, lat, reading, qc
Task: Fetch value from pressure where unit exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060692 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: ts, type, level, qc
Sensor: humidity | fields: depth, type, unit, lon
Task: Fetch reading from dew_point where depth is greater than the total of depth in humidity for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060693 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, reading, lat, depth
Sensor: humidity | fields: reading, level, lat, depth
Task: Fetch lat from wind_speed where unit exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060694 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: reading, type, value, ts
Sensor: cloud_cover | fields: ts, level, lat, depth
Task: Retrieve lat from dew_point whose ts is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060695 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lon, depth, unit, value
Sensor: lightning | fields: depth, lon, value, qc
Task: Get lat from air_quality where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060696 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lat, lon, unit, type
Sensor: humidity | fields: type, unit, lat, depth
Task: Fetch depth from evaporation where depth is greater than the count of of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060697 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, lat, type, depth
Sensor: pressure | fields: depth, type, ts, lat
Task: Fetch value from uv_index where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060698 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: qc, type, ts, value
Sensor: snow_depth | fields: value, qc, unit, reading
Task: Fetch depth from turbidity that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.