variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, unit, lat, value
Sensor: visibility | fields: lat, depth, level, lon
Task: Fetch reading from sunlight that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010500 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, lon, value, ts
Sensor: temperature | fields: ts, type, level, qc
Task: Retrieve lon from dew_point that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010501 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, lat, unit, type
Sensor: pressure | fields: unit, depth, reading, type
Task: Fetch lon from cloud_cover where ts exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010502 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: type, ts, depth, value
Sensor: snow_depth | fields: depth, lon, reading, ts
Task: Fetch reading from evaporation where type exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010503 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, qc, ts, level
Sensor: soil_moisture | fields: type, level, reading, unit
Task: Retrieve level from humidity whose ts is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010504 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, level, type, lat
Sensor: turbidity | fields: lon, type, depth, unit
Task: Retrieve reading from soil_moisture whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010505 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, lon, ts, qc
Sensor: uv_index | fields: reading, lat, unit, ts
Task: Retrieve lon from soil_moisture with depth above the SUM(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010506 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: level, lat, type, unit
Sensor: rainfall | fields: level, qc, value, type
Task: Fetch lon from turbidity that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010507 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, type, level, unit
Sensor: sunlight | fields: qc, lat, value, ts
Task: Get lat from soil_moisture where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010508 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, level, value, depth
Sensor: pressure | fields: level, lat, qc, unit
Task: Fetch reading from soil_moisture where ts exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010509 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, depth, lon, ts
Sensor: lightning | fields: reading, lat, lon, unit
Task: Get lon from soil_moisture where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010510 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: reading, lon, lat, level
Sensor: frost | fields: lat, ts, value, level
Task: Get depth from lightning where depth exceeds the count of value from frost for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010511 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lon, lat, value, unit
Sensor: drought_index | fields: unit, type, reading, value
Task: Retrieve value from humidity with value above the COUNT(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010512 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: depth, qc, ts, lat
Sensor: snow_depth | fields: lon, depth, reading, qc
Task: Get value from humidity where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010513 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, type, lat, unit
Sensor: wind_speed | fields: reading, depth, lat, value
Task: Retrieve reading from soil_moisture whose ts is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010514 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, lon, type, value
Sensor: soil_moisture | fields: level, lon, qc, unit
Task: Retrieve reading from rainfall with reading above the MAX(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010515 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, type, lat, qc
Sensor: pressure | fields: qc, type, depth, lat
Task: Retrieve reading from soil_moisture that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010516 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, unit, reading, lat
Sensor: cloud_cover | fields: qc, level, reading, lat
Task: Retrieve depth from uv_index whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010517 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, ts, type, depth
Sensor: dew_point | fields: ts, unit, lon, value
Task: Fetch reading from air_quality where qc exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010518 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: reading, lon, level, unit
Sensor: evaporation | fields: value, level, reading, lon
Task: Retrieve lat from pressure that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010519 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: level, qc, type, lon
Sensor: temperature | fields: lat, ts, lon, qc
Task: Retrieve level from evaporation that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010520 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: value, lon, lat, qc
Sensor: soil_moisture | fields: lat, lon, level, value
Task: Fetch reading from sunlight that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010521 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: value, reading, ts, type
Sensor: dew_point | fields: qc, reading, type, level
Task: Get lat from rainfall where value exceeds the total value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010522 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: type, unit, depth, qc
Sensor: lightning | fields: reading, type, unit, qc
Task: Fetch lon from humidity where depth exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010523 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: reading, depth, type, value
Sensor: cloud_cover | fields: depth, reading, level, value
Task: Retrieve reading from uv_index whose ts is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010524 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, lon, lat, value
Sensor: dew_point | fields: ts, level, depth, value
Task: Retrieve reading from drought_index with value above the AVG(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010525 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lat, qc, unit, reading
Sensor: cloud_cover | fields: depth, level, type, value
Task: Get value from air_quality where reading exceeds the count of reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010526 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: level, qc, lat, reading
Sensor: uv_index | fields: reading, qc, lat, ts
Task: Fetch reading from sunlight where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010527 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: type, reading, depth, qc
Sensor: frost | fields: depth, reading, ts, lat
Task: Retrieve value from dew_point whose qc is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010528 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: value, unit, depth, level
Sensor: turbidity | fields: lat, lon, qc, ts
Task: Get depth from pressure where unit appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010529 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, ts, reading, level
Sensor: turbidity | fields: type, lon, lat, value
Task: Fetch value from uv_index that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010530 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: depth, lat, ts, qc
Sensor: rainfall | fields: ts, unit, type, qc
Task: Fetch level from visibility where value is greater than the total of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010531 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, lon, value, unit
Sensor: sunlight | fields: reading, type, lat, unit
Task: Retrieve value from snow_depth with value above the COUNT(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010532 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, lat, qc, unit
Sensor: frost | fields: qc, ts, lon, depth
Task: Retrieve level from humidity with value above the MIN(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010533 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, ts, depth, unit
Sensor: sunlight | fields: ts, lon, unit, level
Task: Fetch lon from lightning that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010534 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lat, type, reading, unit
Sensor: dew_point | fields: lat, ts, type, depth
Task: Fetch value from turbidity where value is greater than the average of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010535 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, value, depth, ts
Sensor: visibility | fields: unit, level, lon, qc
Task: Fetch lat from cloud_cover where reading is greater than the total of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010536 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: depth, qc, lon, reading
Sensor: turbidity | fields: lat, value, ts, depth
Task: Retrieve level from humidity whose unit is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010537 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, type, value, lat
Sensor: frost | fields: type, depth, level, lat
Task: Fetch lat from snow_depth where unit exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010538 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lat, unit, value, qc
Sensor: turbidity | fields: reading, type, lat, value
Task: Fetch value from sunlight where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010539 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, value, depth, qc
Sensor: soil_moisture | fields: qc, lon, type, ts
Task: Retrieve depth from sunlight that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010540 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: value, ts, lat, reading
Sensor: frost | fields: ts, lat, qc, reading
Task: Retrieve level from evaporation whose unit is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010541 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: value, depth, level, type
Sensor: evaporation | fields: level, reading, lon, unit
Task: Retrieve value from lightning with reading above the AVG(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010542 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: ts, level, unit, lon
Sensor: soil_moisture | fields: reading, depth, type, unit
Task: Get level from drought_index where reading exceeds the minimum depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010543 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lat, type, level, value
Sensor: pressure | fields: type, qc, lon, unit
Task: Retrieve level from sunlight whose ts is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010544 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: qc, reading, depth, lon
Sensor: air_quality | fields: depth, level, reading, qc
Task: Retrieve value from pressure with value above the MAX(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010545 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: reading, depth, qc, level
Sensor: pressure | fields: lon, depth, level, reading
Task: Get level from visibility where ts appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010546 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, ts, unit, type
Sensor: temperature | fields: qc, ts, depth, reading
Task: Retrieve reading from lightning whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010547 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, level, qc, lon
Sensor: cloud_cover | fields: lon, reading, type, depth
Task: Fetch lon from snow_depth where depth exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010548 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lat, level, qc, unit
Sensor: visibility | fields: level, depth, lon, value
Task: Fetch value from uv_index where reading is greater than the average of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010549 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: type, qc, unit, value
Sensor: uv_index | fields: value, lat, reading, lon
Task: Get lon from turbidity where qc appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010550 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lat, level, reading, value
Sensor: uv_index | fields: level, lat, type, reading
Task: Get reading from dew_point where reading exceeds the average value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010551 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: reading, value, lat, unit
Sensor: rainfall | fields: qc, value, ts, reading
Task: Retrieve depth from lightning whose unit is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010552 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: unit, type, value, depth
Sensor: air_quality | fields: value, level, lat, unit
Task: Get depth from uv_index where value exceeds the maximum value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010553 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: value, lon, lat, reading
Sensor: turbidity | fields: ts, lon, depth, reading
Task: Fetch reading from pressure where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010554 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: unit, reading, level, lat
Sensor: drought_index | fields: value, type, unit, reading
Task: Get lat from temperature where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010555 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: unit, qc, lon, type
Sensor: sunlight | fields: depth, ts, level, qc
Task: Get depth from air_quality where qc appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010556 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, depth, ts, unit
Sensor: rainfall | fields: lon, value, reading, ts
Task: Get depth from evaporation where reading exceeds the minimum depth from rainfall for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010557 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, reading, type, ts
Sensor: snow_depth | fields: reading, qc, lat, type
Task: Fetch lat from cloud_cover that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010558 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: depth, lat, qc, lon
Sensor: snow_depth | fields: value, depth, type, lat
Task: Fetch value from pressure that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010559 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: level, value, qc, lon
Sensor: dew_point | fields: value, type, lat, unit
Task: Fetch value from wind_speed where reading is greater than the average of value in dew_point for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010560 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: value, level, lon, ts
Sensor: evaporation | fields: ts, depth, level, lat
Task: Fetch value from sunlight that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010561 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, type, reading, lon
Sensor: soil_moisture | fields: level, depth, lon, unit
Task: Retrieve level from temperature whose depth is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010562 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: value, depth, level, qc
Sensor: humidity | fields: qc, level, type, value
Task: Get level from frost where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010563 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: type, lon, qc, ts
Sensor: uv_index | fields: ts, lon, value, reading
Task: Get level from wind_speed where depth exceeds the average depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010564 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, unit, level, value
Sensor: rainfall | fields: value, qc, reading, lat
Task: Fetch reading from visibility where value is greater than the maximum of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010565 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, unit, value, lat
Sensor: sunlight | fields: lat, type, unit, qc
Task: Fetch reading from soil_moisture where depth exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010566 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, value, reading, level
Sensor: temperature | fields: unit, qc, lon, lat
Task: Retrieve reading from sunlight that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010567 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: value, depth, lat, level
Sensor: sunlight | fields: lat, type, value, lon
Task: Fetch lon from turbidity that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010568 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, type, level, unit
Sensor: soil_moisture | fields: value, reading, type, lat
Task: Retrieve value from cloud_cover with depth above the AVG(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010569 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lon, depth, reading, type
Sensor: pressure | fields: level, reading, lat, unit
Task: Retrieve depth from turbidity that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010570 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, value, reading, depth
Sensor: uv_index | fields: qc, lat, ts, level
Task: Get depth from dew_point where reading exceeds the average value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010571 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: ts, depth, lat, reading
Sensor: lightning | fields: depth, type, ts, unit
Task: Retrieve value from pressure that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010572 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, ts, value, type
Sensor: cloud_cover | fields: lon, level, qc, type
Task: Retrieve reading from snow_depth that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010573 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, value, reading, level
Sensor: visibility | fields: lon, type, reading, lat
Task: Get depth from soil_moisture where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010574 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, lon, value, unit
Sensor: visibility | fields: value, level, unit, depth
Task: Get level from cloud_cover where depth exceeds the count of depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010575 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: ts, lon, level, lat
Sensor: uv_index | fields: depth, lon, reading, type
Task: Retrieve level from drought_index that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010576 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: value, depth, ts, qc
Sensor: frost | fields: value, type, level, ts
Task: Fetch value from turbidity where depth exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010577 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, ts, value, level
Sensor: rainfall | fields: ts, level, type, reading
Task: Get depth from cloud_cover where ts appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010578 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: ts, lon, unit, reading
Sensor: lightning | fields: depth, value, ts, lon
Task: Retrieve reading from rainfall whose qc is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010579 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: type, lon, lat, depth
Sensor: humidity | fields: reading, ts, value, qc
Task: Fetch lat from pressure where ts exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010580 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: reading, depth, lon, qc
Sensor: cloud_cover | fields: lon, level, ts, type
Task: Retrieve depth from temperature that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010581 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: unit, qc, lat, value
Sensor: evaporation | fields: depth, reading, ts, type
Task: Get lat from uv_index where depth exceeds the maximum value from evaporation for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010582 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: qc, type, ts, reading
Sensor: rainfall | fields: lon, level, ts, type
Task: Retrieve reading from frost with depth above the SUM(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010583 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, ts, unit, value
Sensor: turbidity | fields: qc, ts, value, unit
Task: Fetch level from sunlight that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010584 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, value, ts, depth
Sensor: dew_point | fields: depth, ts, type, level
Task: Get depth from temperature where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010585 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: ts, type, unit, qc
Sensor: uv_index | fields: reading, lon, type, value
Task: Retrieve level from temperature with reading above the MAX(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010586 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, qc, lat, type
Sensor: humidity | fields: unit, level, depth, value
Task: Fetch reading from soil_moisture where type exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010587 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lon, value, type, unit
Sensor: cloud_cover | fields: level, value, ts, unit
Task: Get reading from visibility where unit appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010588 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: ts, value, reading, lon
Sensor: uv_index | fields: qc, lon, unit, reading
Task: Get lon from lightning where depth exceeds the count of reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010589 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, level, unit, reading
Sensor: rainfall | fields: lat, level, reading, qc
Task: Retrieve lon from snow_depth that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010590 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, ts, unit, reading
Sensor: temperature | fields: qc, level, unit, lat
Task: Get reading from dew_point where value exceeds the count of value from temperature for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010591 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: type, lon, lat, depth
Sensor: frost | fields: ts, qc, reading, type
Task: Get lat from wind_speed where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010592 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, type, ts, lon
Sensor: pressure | fields: reading, qc, lon, type
Task: Get reading from snow_depth where ts appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010593 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: level, unit, type, qc
Sensor: uv_index | fields: level, lat, unit, value
Task: Get lat from turbidity where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010594 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, value, ts, lon
Sensor: pressure | fields: unit, depth, reading, type
Task: Get depth from soil_moisture where depth exceeds the maximum reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010595 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, type, depth, ts
Sensor: cloud_cover | fields: depth, unit, lon, reading
Task: Fetch lat from air_quality where qc exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010596 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, value, type, qc
Sensor: wind_speed | fields: value, depth, reading, level
Task: Get level from air_quality where reading exceeds the count of depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010597 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: unit, ts, level, type
Sensor: sunlight | fields: value, qc, lon, depth
Task: Fetch reading from turbidity where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010598 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: type, reading, lat, depth
Sensor: snow_depth | fields: ts, level, value, reading
Task: Fetch lon from wind_speed that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.