variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: level, lon, value, lat
Sensor: wind_speed | fields: lat, ts, depth, level
Task: Retrieve reading from snow_depth whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019400 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: depth, level, lon, type
Sensor: wind_speed | fields: reading, type, value, depth
Task: Retrieve depth from dew_point with reading above the COUNT(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019401 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: qc, lat, value, reading
Sensor: air_quality | fields: qc, ts, depth, type
Task: Fetch value from turbidity where reading is greater than the minimum of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019402 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, reading, ts, qc
Sensor: wind_speed | fields: lon, reading, ts, lat
Task: Get value from humidity where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019403 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: level, type, value, lat
Sensor: evaporation | fields: type, reading, ts, unit
Task: Fetch level from uv_index where reading is greater than the minimum of value in evaporation for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019404 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, depth, lon, type
Sensor: evaporation | fields: level, qc, type, value
Task: Fetch reading from soil_moisture that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019405 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: lat, lon, reading, level
Sensor: dew_point | fields: lat, reading, value, type
Task: Fetch lat from humidity that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019406 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, ts, unit, value
Sensor: cloud_cover | fields: ts, lon, value, depth
Task: Fetch value from sunlight that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019407 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: level, ts, lon, reading
Sensor: rainfall | fields: unit, lat, level, depth
Task: Retrieve level from lightning that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019408 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: level, ts, lat, reading
Sensor: sunlight | fields: lat, depth, unit, qc
Task: Retrieve reading from snow_depth whose qc is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019409 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: value, unit, lat, level
Sensor: snow_depth | fields: unit, lat, level, lon
Task: Fetch depth from pressure that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019410 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, reading, lon, type
Sensor: air_quality | fields: qc, depth, type, lat
Task: Retrieve depth from wind_speed whose unit is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019411 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, lon, type, lat
Sensor: turbidity | fields: ts, reading, type, depth
Task: Fetch reading from drought_index where unit exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019412 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, ts, level, value
Sensor: humidity | fields: reading, depth, ts, type
Task: Fetch lon from cloud_cover where reading is greater than the maximum of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019413 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, unit, lon, ts
Sensor: air_quality | fields: qc, type, reading, lat
Task: Fetch value from cloud_cover where depth exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019414 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, type, qc, level
Sensor: pressure | fields: value, depth, unit, ts
Task: Retrieve reading from drought_index with depth above the MAX(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019415 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, depth, ts, qc
Sensor: humidity | fields: depth, lat, qc, reading
Task: Get lat from wind_speed where depth exceeds the maximum reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019416 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, depth, ts, qc
Sensor: pressure | fields: lon, unit, depth, level
Task: Get value from lightning where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019417 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: depth, level, ts, unit
Sensor: wind_speed | fields: qc, reading, ts, level
Task: Fetch lon from dew_point where ts exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019418 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, type, depth, reading
Sensor: evaporation | fields: lon, reading, ts, unit
Task: Fetch depth from turbidity that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019419 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: level, qc, type, value
Sensor: lightning | fields: ts, level, lat, type
Task: Fetch lon from evaporation where depth is greater than the count of of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019420 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, reading, lat, depth
Sensor: air_quality | fields: lon, reading, type, value
Task: Fetch level from soil_moisture that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019421 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lat, value, level, type
Sensor: humidity | fields: depth, lon, level, ts
Task: Fetch lon from sunlight that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019422 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, lon, lat, unit
Sensor: rainfall | fields: depth, lat, lon, reading
Task: Retrieve lon from soil_moisture whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019423 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, qc, type, value
Sensor: visibility | fields: lon, value, depth, reading
Task: Fetch reading from soil_moisture where depth is greater than the average of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019424 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, type, lon, depth
Sensor: air_quality | fields: lon, ts, value, qc
Task: Fetch level from wind_speed where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019425 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: value, level, ts, unit
Sensor: wind_speed | fields: type, value, qc, level
Task: Fetch depth from evaporation that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019426 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: reading, qc, level, lon
Sensor: dew_point | fields: qc, lon, lat, value
Task: Get lat from pressure where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019427 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, lon, type, lat
Sensor: wind_speed | fields: value, lon, ts, reading
Task: Retrieve lon from soil_moisture that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019428 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: ts, lat, value, qc
Sensor: sunlight | fields: type, unit, value, level
Task: Get lon from air_quality where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019429 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: value, lat, unit, lon
Sensor: temperature | fields: level, qc, lat, depth
Task: Get depth from drought_index where depth exceeds the average value from temperature for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019430 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, value, type, qc
Sensor: soil_moisture | fields: reading, ts, depth, type
Task: Get depth from rainfall where reading exceeds the total depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019431 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, depth, level, qc
Sensor: wind_speed | fields: type, level, reading, value
Task: Retrieve reading from snow_depth with reading above the MIN(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019432 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, depth, lat, ts
Sensor: temperature | fields: value, qc, ts, reading
Task: Retrieve value from cloud_cover that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019433 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, level, lon, depth
Sensor: rainfall | fields: value, unit, type, level
Task: Get depth from soil_moisture where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019434 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: value, lon, reading, depth
Sensor: humidity | fields: reading, depth, lon, ts
Task: Retrieve reading from air_quality that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019435 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, qc, reading, type
Sensor: evaporation | fields: lat, depth, qc, unit
Task: Retrieve depth from temperature with depth above the SUM(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019436 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, lat, unit, depth
Sensor: evaporation | fields: type, value, unit, level
Task: Fetch reading from air_quality that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019437 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, unit, value, reading
Sensor: rainfall | fields: type, ts, qc, value
Task: Retrieve level from soil_moisture with reading above the COUNT(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019438 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: level, depth, unit, type
Sensor: pressure | fields: type, level, qc, lat
Task: Fetch level from turbidity that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019439 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: depth, lon, type, level
Sensor: dew_point | fields: unit, type, reading, lat
Task: Get lon from evaporation where reading exceeds the average depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019440 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, lat, unit, value
Sensor: sunlight | fields: ts, depth, level, qc
Task: Fetch level from wind_speed where depth is greater than the minimum of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019441 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: value, ts, depth, level
Sensor: turbidity | fields: lon, level, lat, unit
Task: Retrieve reading from lightning that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019442 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lat, qc, ts, level
Sensor: turbidity | fields: unit, level, reading, depth
Task: Get level from pressure where depth exceeds the minimum value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019443 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: ts, level, lat, reading
Sensor: dew_point | fields: reading, lat, level, lon
Task: Fetch depth from frost where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019444 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, reading, depth, lon
Sensor: lightning | fields: type, unit, qc, depth
Task: Retrieve level from soil_moisture whose qc is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019445 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: type, unit, qc, lon
Sensor: snow_depth | fields: value, level, lon, reading
Task: Fetch depth from frost that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019446 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: depth, lon, level, qc
Sensor: evaporation | fields: type, value, ts, qc
Task: Retrieve lon from dew_point with value above the SUM(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019447 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: qc, level, lat, type
Sensor: lightning | fields: unit, ts, value, type
Task: Fetch value from temperature that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019448 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lat, reading, unit, qc
Sensor: sunlight | fields: reading, type, ts, lat
Task: Get lon from lightning where qc appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019449 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: unit, qc, lon, value
Sensor: frost | fields: level, qc, value, lat
Task: Get lon from lightning where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019450 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: ts, value, depth, level
Sensor: rainfall | fields: level, value, reading, ts
Task: Get level from turbidity where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019451 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, depth, lat, lon
Sensor: drought_index | fields: lat, type, ts, level
Task: Get lon from dew_point where value exceeds the total depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019452 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, lon, depth, lat
Sensor: wind_speed | fields: depth, type, unit, qc
Task: Get level from snow_depth where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"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_019453 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, level, depth, qc
Sensor: rainfall | fields: ts, depth, value, unit
Task: Fetch reading from cloud_cover that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019454 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: value, depth, level, reading
Sensor: dew_point | fields: reading, type, qc, level
Task: Get reading from rainfall where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019455 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: unit, value, type, ts
Sensor: drought_index | fields: ts, reading, lon, type
Task: Get lat from dew_point where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019456 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: ts, depth, lon, reading
Sensor: visibility | fields: lat, unit, type, reading
Task: Get value from turbidity where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019457 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: value, lon, type, reading
Sensor: rainfall | fields: lat, level, lon, unit
Task: Fetch reading from visibility where ts exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019458 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: unit, lon, reading, depth
Sensor: dew_point | fields: lon, reading, qc, level
Task: Fetch reading from frost that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019459 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, level, lon, depth
Sensor: pressure | fields: lat, ts, unit, depth
Task: Retrieve depth from cloud_cover that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019460 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: value, reading, lon, ts
Sensor: pressure | fields: lat, unit, depth, ts
Task: Retrieve reading from snow_depth that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019461 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: value, lon, lat, depth
Sensor: snow_depth | fields: type, lat, level, ts
Task: Get reading from frost where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019462 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, lat, type, reading
Sensor: snow_depth | fields: type, qc, unit, depth
Task: Get value from sunlight where value exceeds the maximum reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019463 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: unit, ts, qc, value
Sensor: turbidity | fields: level, qc, depth, ts
Task: Fetch lat from air_quality where reading is greater than the count of of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019464 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: type, qc, unit, value
Sensor: sunlight | fields: lon, value, level, ts
Task: Retrieve depth from snow_depth that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019465 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, lon, value, unit
Sensor: rainfall | fields: level, reading, lat, unit
Task: Get depth from wind_speed where value exceeds the maximum value from rainfall for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019466 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, level, value, unit
Sensor: drought_index | fields: lat, lon, level, value
Task: Get reading from soil_moisture where reading exceeds the minimum value from drought_index for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019467 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, ts, depth, lon
Sensor: dew_point | fields: unit, depth, ts, lat
Task: Get reading from wind_speed where reading exceeds the count of value from dew_point for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019468 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: lat, ts, unit, lon
Sensor: visibility | fields: depth, lat, reading, unit
Task: Retrieve reading from pressure whose depth is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019469 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, qc, level, ts
Sensor: drought_index | fields: type, value, reading, qc
Task: Get value from soil_moisture where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019470 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, type, reading, unit
Sensor: snow_depth | fields: ts, depth, lon, qc
Task: Get level from air_quality where reading exceeds the average value from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019471 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, value, unit, reading
Sensor: lightning | fields: depth, ts, qc, unit
Task: Fetch level from wind_speed where reading is greater than the minimum of reading in lightning for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019472 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, value, unit, reading
Sensor: pressure | fields: qc, type, depth, reading
Task: Fetch reading from wind_speed where reading is greater than the total of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019473 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: qc, lon, reading, value
Sensor: wind_speed | fields: qc, lon, lat, unit
Task: Fetch value from humidity where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019474 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, depth, level, unit
Sensor: humidity | fields: qc, lat, ts, value
Task: Fetch level from wind_speed where qc exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019475 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lat, value, ts, level
Sensor: cloud_cover | fields: type, reading, lat, value
Task: Get reading from drought_index where unit appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019476 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lat, ts, type, value
Sensor: cloud_cover | fields: depth, qc, unit, lon
Task: Get level from evaporation where reading exceeds the minimum depth from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019477 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, qc, lon, value
Sensor: snow_depth | fields: qc, level, unit, value
Task: Get lat from evaporation where ts appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019478 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lat, ts, reading, unit
Sensor: pressure | fields: level, type, unit, depth
Task: Fetch level from uv_index where type exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019479 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: depth, qc, lat, value
Sensor: humidity | fields: value, depth, unit, ts
Task: Fetch lat from evaporation where qc exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019480 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, depth, unit, type
Sensor: turbidity | fields: depth, value, qc, lat
Task: Retrieve lat from soil_moisture that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019481 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: reading, depth, type, level
Sensor: temperature | fields: type, depth, lon, value
Task: Fetch value from humidity where depth exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019482 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lon, depth, ts, type
Sensor: pressure | fields: ts, unit, lat, value
Task: Get depth from uv_index where unit appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019483 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: value, level, unit, ts
Sensor: humidity | fields: depth, ts, unit, type
Task: Retrieve level from dew_point whose depth is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019484 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: reading, lat, qc, ts
Sensor: temperature | fields: type, ts, lon, level
Task: Fetch depth from sunlight where value is greater than the total of value in temperature for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019485 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: value, type, depth, qc
Sensor: turbidity | fields: reading, unit, ts, depth
Task: Retrieve level from humidity whose unit is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019486 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: unit, reading, lat, qc
Sensor: uv_index | fields: qc, type, lat, lon
Task: Fetch depth from drought_index where value is greater than the average of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019487 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, type, unit, qc
Sensor: cloud_cover | fields: depth, value, unit, lon
Task: Retrieve reading from soil_moisture with reading above the MAX(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019488 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, depth, type, lat
Sensor: drought_index | fields: level, lat, lon, value
Task: Fetch lat from dew_point where value is greater than the maximum of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019489 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, type, reading, qc
Sensor: drought_index | fields: lat, value, lon, depth
Task: Fetch lat from snow_depth that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019490 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lat, level, value, qc
Sensor: wind_speed | fields: lat, level, reading, lon
Task: Retrieve reading from pressure that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019491 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: level, qc, value, reading
Sensor: turbidity | fields: qc, ts, lat, reading
Task: Retrieve lat from evaporation that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019492 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: unit, reading, depth, lat
Sensor: air_quality | fields: value, level, ts, lat
Task: Retrieve lat from visibility whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019493 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: level, depth, lat, ts
Sensor: turbidity | fields: qc, lon, level, lat
Task: Get level from temperature where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019494 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: type, reading, lon, ts
Sensor: wind_speed | fields: depth, level, value, reading
Task: Retrieve depth from visibility whose type is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019495 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: qc, lon, lat, depth
Sensor: snow_depth | fields: depth, lat, reading, ts
Task: Fetch depth from humidity that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019496 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: reading, value, depth, unit
Sensor: frost | fields: lat, value, lon, depth
Task: Retrieve lon from lightning whose qc is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019497 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: qc, value, level, lat
Sensor: cloud_cover | fields: qc, unit, reading, lat
Task: Retrieve lat from rainfall that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019498 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, reading, ts, value
Sensor: turbidity | fields: reading, lat, unit, value
Task: Retrieve lat from soil_moisture whose qc is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.