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: visibility | code: clr | fields: type, lon, value, level
Sensor: drought_index | fields: lat, value, unit, qc
Task: Retrieve value from visibility with depth above the COUNT(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077600 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: qc, type, lat, value
Sensor: sunlight | fields: type, ts, level, qc
Task: Fetch depth from lightning that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077601 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, unit, value, reading
Sensor: turbidity | fields: depth, unit, ts, lon
Task: Retrieve level from soil_moisture that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077602 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lat, depth, reading, ts
Sensor: evaporation | fields: level, unit, lon, value
Task: Fetch lat from turbidity where reading is greater than the count of of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077603 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: level, unit, type, lon
Sensor: evaporation | fields: lat, value, unit, reading
Task: Fetch lat from visibility that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077604 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: value, ts, unit, level
Sensor: soil_moisture | fields: reading, unit, lon, qc
Task: Retrieve depth from wind_speed that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077605 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: level, type, depth, ts
Sensor: uv_index | fields: lon, value, unit, qc
Task: Retrieve lon from frost with reading above the AVG(reading) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077606 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: qc, reading, type, unit
Sensor: snow_depth | fields: depth, reading, level, lat
Task: Get value from turbidity where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077607 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, ts, reading, level
Sensor: pressure | fields: reading, depth, type, qc
Task: Fetch reading from turbidity that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077608 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: type, lat, lon, unit
Sensor: snow_depth | fields: type, reading, unit, value
Task: Fetch reading from sunlight that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077609 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: reading, ts, type, depth
Sensor: dew_point | fields: level, ts, type, lon
Task: Retrieve depth from turbidity whose type is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077610 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: type, lat, depth, lon
Sensor: frost | fields: depth, level, reading, type
Task: Fetch level from wind_speed where reading is greater than the count of of value in frost for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077611 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, unit, reading, lon
Sensor: rainfall | fields: lat, ts, qc, type
Task: Fetch lat from temperature where reading is greater than the total of value in rainfall for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077612 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: unit, lat, ts, level
Sensor: wind_speed | fields: ts, lat, level, reading
Task: Retrieve reading from temperature that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077613 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lon, depth, qc, value
Sensor: visibility | fields: level, unit, lat, reading
Task: Retrieve reading from uv_index whose depth is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077614 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, reading, level, lat
Sensor: sunlight | fields: qc, reading, lon, ts
Task: Get lon from lightning where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077615 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, level, reading, lat
Sensor: wind_speed | fields: type, unit, value, reading
Task: Retrieve depth from soil_moisture that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077616 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lat, depth, lon, qc
Sensor: cloud_cover | fields: lon, level, lat, reading
Task: Retrieve depth from temperature that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077617 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, reading, unit, qc
Sensor: drought_index | fields: qc, reading, ts, depth
Task: Fetch value from sunlight where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077618 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, value, unit, level
Sensor: humidity | fields: lat, unit, qc, value
Task: Get lat from snow_depth where value exceeds the count of reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077619 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: level, unit, lon, depth
Sensor: rainfall | fields: depth, qc, lat, unit
Task: Retrieve lat from sunlight with value above the COUNT(value) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077620 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: level, ts, qc, reading
Sensor: frost | fields: lat, depth, value, qc
Task: Retrieve depth from air_quality whose type is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077621 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: level, value, qc, lon
Sensor: soil_moisture | fields: type, reading, lat, lon
Task: Retrieve level from turbidity that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077622 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, lon, value, reading
Sensor: evaporation | fields: level, value, ts, lat
Task: Get lat from turbidity where depth exceeds the minimum reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077623 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, qc, value, reading
Sensor: dew_point | fields: lon, unit, depth, lat
Task: Fetch value from rainfall that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077624 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lon, ts, depth, level
Sensor: snow_depth | fields: level, lat, value, unit
Task: Get lat from lightning where value exceeds the minimum value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077625 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, type, lat, unit
Sensor: rainfall | fields: level, lon, qc, depth
Task: Fetch value from soil_moisture where qc exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077626 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, qc, ts, value
Sensor: rainfall | fields: unit, lat, type, ts
Task: Retrieve lat from visibility whose ts is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077627 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: type, unit, qc, depth
Sensor: air_quality | fields: reading, type, lon, lat
Task: Fetch depth from visibility that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077628 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: type, unit, level, depth
Sensor: cloud_cover | fields: lon, value, unit, type
Task: Get value from turbidity where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077629 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: value, unit, reading, ts
Sensor: temperature | fields: ts, reading, unit, value
Task: Retrieve level from evaporation with reading above the MIN(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077630 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, value, qc, unit
Sensor: uv_index | fields: qc, type, lon, ts
Task: Retrieve reading from soil_moisture with reading above the SUM(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077631 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lon, value, unit, qc
Sensor: humidity | fields: qc, type, value, level
Task: Get reading from visibility where qc appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077632 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, lat, qc, unit
Sensor: snow_depth | fields: level, depth, value, reading
Task: Get lat from temperature where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077633 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: type, reading, ts, lon
Sensor: soil_moisture | fields: type, lat, ts, lon
Task: Fetch value from dew_point that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077634 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: reading, depth, lon, value
Sensor: sunlight | fields: value, depth, level, ts
Task: Fetch value from drought_index where type exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077635 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, lat, qc, type
Sensor: rainfall | fields: level, value, depth, unit
Task: Get lat from air_quality where value exceeds the maximum reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077636 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, lon, ts, lat
Sensor: evaporation | fields: value, qc, level, ts
Task: Retrieve lat from snow_depth that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077637 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, value, ts, lat
Sensor: frost | fields: ts, type, reading, level
Task: Fetch depth from cloud_cover that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077638 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, unit, qc, level
Sensor: rainfall | fields: unit, depth, level, lon
Task: Get lat from snow_depth where ts appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077639 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, ts, lon, unit
Sensor: drought_index | fields: level, qc, unit, ts
Task: Fetch level from air_quality that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077640 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: depth, reading, qc, value
Sensor: rainfall | fields: lon, ts, value, type
Task: Fetch reading from sunlight where reading is greater than the minimum of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077641 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: qc, value, reading, type
Sensor: turbidity | fields: lon, unit, level, value
Task: Retrieve reading from pressure with depth above the COUNT(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077642 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lat, ts, level, value
Sensor: temperature | fields: lat, lon, unit, depth
Task: Retrieve lon from uv_index that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077643 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, level, unit, value
Sensor: sunlight | fields: unit, depth, lon, qc
Task: Retrieve level from cloud_cover whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077644 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, value, unit, level
Sensor: sunlight | fields: type, unit, lon, qc
Task: Fetch lon from lightning where value is greater than the total of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077645 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: value, lat, lon, qc
Sensor: sunlight | fields: qc, unit, lat, depth
Task: Get level from uv_index where depth exceeds the maximum depth from sunlight for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077646 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lat, qc, lon, type
Sensor: visibility | fields: lat, level, unit, type
Task: Get reading from frost where depth exceeds the maximum value from visibility for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077647 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: value, qc, level, lat
Sensor: sunlight | fields: lon, depth, lat, qc
Task: Fetch value from air_quality where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077648 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: depth, qc, lon, value
Sensor: sunlight | fields: reading, lon, level, ts
Task: Get lon from dew_point where value exceeds the average depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077649 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: type, ts, unit, reading
Sensor: air_quality | fields: lat, value, lon, qc
Task: Fetch lat from frost where type exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077650 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, ts, lon, type
Sensor: uv_index | fields: reading, type, ts, depth
Task: Retrieve lon from soil_moisture whose ts is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077651 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, lat, reading, depth
Sensor: visibility | fields: ts, lat, depth, lon
Task: Get level from rainfall where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"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_077652 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, ts, type, lat
Sensor: air_quality | fields: qc, lon, depth, lat
Task: Retrieve level from frost whose unit is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077653 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, type, depth, value
Sensor: snow_depth | fields: lat, depth, qc, unit
Task: Retrieve lon from turbidity that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077654 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lon, unit, type, qc
Sensor: pressure | fields: ts, depth, value, type
Task: Fetch lon from drought_index where unit exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077655 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: depth, ts, lat, level
Sensor: temperature | fields: lon, ts, depth, unit
Task: Fetch lon from visibility where value is greater than the average of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077656 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: ts, reading, lat, lon
Sensor: pressure | fields: level, lon, reading, value
Task: Retrieve value from rainfall whose unit is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077657 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: level, lon, reading, type
Sensor: wind_speed | fields: value, unit, lat, qc
Task: Fetch lat from snow_depth that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077658 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lat, unit, depth, ts
Sensor: drought_index | fields: lat, ts, lon, unit
Task: Get lon from turbidity where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077659 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, level, unit, ts
Sensor: rainfall | fields: level, reading, depth, ts
Task: Retrieve reading from turbidity with reading above the MIN(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077660 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, lat, reading, unit
Sensor: drought_index | fields: ts, value, level, unit
Task: Get value from dew_point where type appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077661 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, unit, level, value
Sensor: snow_depth | fields: level, unit, value, ts
Task: Fetch value from evaporation where ts exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077662 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: unit, level, ts, qc
Sensor: wind_speed | fields: lon, unit, type, level
Task: Fetch lon from visibility where reading is greater than the average of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077663 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lon, qc, depth, unit
Sensor: sunlight | fields: ts, unit, qc, value
Task: Get level from humidity where qc appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077664 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: ts, lon, unit, level
Sensor: lightning | fields: ts, reading, unit, depth
Task: Retrieve reading from air_quality with depth above the MIN(depth) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077665 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: reading, type, value, level
Sensor: pressure | fields: depth, value, lon, reading
Task: Fetch lat from dew_point that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077666 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: reading, ts, lon, value
Sensor: temperature | fields: type, lon, unit, lat
Task: Fetch depth from visibility where value is greater than the total of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077667 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lat, type, level, reading
Sensor: rainfall | fields: lat, level, qc, lon
Task: Fetch lat from dew_point where value is greater than the count of of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077668 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: unit, ts, reading, type
Sensor: pressure | fields: reading, depth, value, unit
Task: Fetch lat from air_quality where type exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077669 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, qc, reading, level
Sensor: pressure | fields: level, depth, lon, reading
Task: Fetch value from snow_depth where ts exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077670 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: unit, reading, lat, ts
Sensor: cloud_cover | fields: type, unit, qc, ts
Task: Fetch depth from frost where reading is greater than the minimum of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077671 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: value, level, qc, reading
Sensor: dew_point | fields: unit, value, ts, lat
Task: Fetch value from drought_index where value is greater than the total of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077672 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, qc, unit, value
Sensor: cloud_cover | fields: lon, type, level, depth
Task: Fetch lon from sunlight where ts exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077673 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: value, lon, reading, level
Sensor: drought_index | fields: depth, reading, qc, lat
Task: Fetch value from dew_point where qc exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077674 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, unit, lon, qc
Sensor: snow_depth | fields: lon, depth, unit, qc
Task: Get reading from pressure where qc appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077675 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: ts, depth, reading, level
Sensor: uv_index | fields: lat, value, level, lon
Task: Retrieve level from drought_index that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077676 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: level, value, qc, type
Sensor: frost | fields: lon, reading, level, ts
Task: Get level from humidity where depth exceeds the minimum value from frost for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077677 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: level, lon, unit, reading
Sensor: snow_depth | fields: reading, level, qc, unit
Task: Fetch level from sunlight where type exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077678 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, qc, reading, unit
Sensor: temperature | fields: qc, lon, ts, type
Task: Get depth from cloud_cover where depth appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077679 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lon, qc, ts, value
Sensor: uv_index | fields: type, unit, ts, lat
Task: Get depth from dew_point where reading exceeds the minimum reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077680 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: depth, reading, unit, value
Sensor: cloud_cover | fields: ts, qc, reading, lat
Task: Retrieve depth from lightning that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077681 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: type, unit, reading, lon
Sensor: wind_speed | fields: lon, ts, depth, lat
Task: Get level from turbidity where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077682 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: lon, depth, unit, ts
Sensor: pressure | fields: value, depth, reading, ts
Task: Fetch reading from temperature where reading is greater than the average of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077683 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, type, lat, ts
Sensor: drought_index | fields: qc, lon, value, unit
Task: Retrieve lat from soil_moisture whose qc is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077684 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: level, value, reading, qc
Sensor: lightning | fields: reading, level, type, unit
Task: Retrieve value from uv_index whose ts is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077685 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, type, level, lon
Sensor: air_quality | fields: type, value, depth, ts
Task: Retrieve depth from wind_speed whose ts is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077686 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lat, qc, unit, level
Sensor: turbidity | fields: qc, lat, depth, unit
Task: Fetch reading from visibility that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077687 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lon, level, lat, value
Sensor: soil_moisture | fields: type, lon, unit, level
Task: Retrieve lat from frost with reading above the MAX(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077688 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, level, lat, depth
Sensor: air_quality | fields: level, lat, ts, lon
Task: Retrieve depth from soil_moisture that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077689 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: type, level, lon, ts
Sensor: uv_index | fields: qc, depth, reading, ts
Task: Retrieve value from sunlight that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077690 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, qc, ts, type
Sensor: air_quality | fields: type, level, reading, ts
Task: Fetch lat from cloud_cover where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077691 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: reading, ts, value, type
Sensor: uv_index | fields: lat, ts, reading, qc
Task: Fetch reading from frost that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077692 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: unit, depth, lat, lon
Sensor: snow_depth | fields: unit, lat, type, qc
Task: Retrieve value from uv_index whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077693 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, unit, lon, depth
Sensor: sunlight | fields: qc, type, depth, unit
Task: Get value from frost where reading exceeds the total reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077694 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, lon, reading, unit
Sensor: uv_index | fields: lon, unit, type, lat
Task: Retrieve depth from soil_moisture with reading above the SUM(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077695 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, reading, depth, ts
Sensor: visibility | fields: lat, ts, lon, type
Task: Retrieve level from air_quality with depth above the MIN(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077696 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lat, reading, unit, type
Sensor: drought_index | fields: type, reading, unit, depth
Task: Get lon from lightning where value exceeds the maximum reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077697 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, unit, depth, type
Sensor: snow_depth | fields: qc, lat, level, ts
Task: Retrieve value from wind_speed that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077698 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: unit, depth, reading, ts
Sensor: drought_index | fields: lat, level, type, value
Task: Retrieve level from visibility whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.