variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: temperature | code: stn | fields: qc, depth, level, type
Sensor: soil_moisture | fields: unit, ts, type, reading
Task: Fetch reading from temperature where reading is greater than the maximum of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012400 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, value, type, reading
Sensor: cloud_cover | fields: lon, unit, lat, level
Task: Get reading from temperature where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012401 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: unit, ts, depth, lon
Sensor: rainfall | fields: reading, qc, type, lon
Task: Fetch depth from pressure where unit exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012402 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: level, lat, reading, type
Sensor: humidity | fields: unit, lat, ts, reading
Task: Retrieve lat from visibility with value above the AVG(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012403 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, lat, reading, ts
Sensor: cloud_cover | fields: value, ts, type, reading
Task: Retrieve value from visibility whose qc is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012404 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lat, type, level, depth
Sensor: visibility | fields: reading, depth, type, qc
Task: Fetch lon from uv_index that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012405 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, unit, value, ts
Sensor: evaporation | fields: lat, reading, value, level
Task: Retrieve lon from turbidity that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012406 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: qc, ts, unit, lon
Sensor: sunlight | fields: ts, level, depth, value
Task: Fetch lat from air_quality where ts exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012407 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: type, reading, depth, lat
Sensor: air_quality | fields: value, qc, lon, ts
Task: Get depth from dew_point where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012408 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lat, qc, level, lon
Sensor: air_quality | fields: value, unit, lat, qc
Task: Get depth from lightning where value exceeds the maximum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012409 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, lat, reading, lon
Sensor: drought_index | fields: value, lat, reading, type
Task: Retrieve level from soil_moisture with depth above the MIN(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012410 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, qc, lon, type
Sensor: sunlight | fields: ts, unit, qc, value
Task: Fetch depth from temperature where ts exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012411 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: ts, qc, lon, lat
Sensor: soil_moisture | fields: lat, reading, qc, ts
Task: Retrieve value from visibility with value above the AVG(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012412 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: ts, depth, level, value
Sensor: wind_speed | fields: type, unit, depth, qc
Task: Get depth from rainfall where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012413 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: reading, level, qc, depth
Sensor: air_quality | fields: depth, reading, ts, qc
Task: Get level from temperature where value exceeds the maximum depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012414 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, lat, level, qc
Sensor: visibility | fields: level, depth, unit, qc
Task: Get lon from snow_depth where type appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012415 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, reading, level, value
Sensor: air_quality | fields: level, qc, ts, type
Task: Fetch value from cloud_cover where value is greater than the total of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012416 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: unit, ts, lon, level
Sensor: drought_index | fields: unit, type, lat, level
Task: Get lon from frost where qc appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012417 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lat, ts, reading, lon
Sensor: lightning | fields: ts, qc, reading, value
Task: Fetch depth from rainfall that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012418 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: ts, level, unit, type
Sensor: pressure | fields: unit, qc, level, depth
Task: Fetch reading from uv_index that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012419 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: level, ts, lat, type
Sensor: soil_moisture | fields: depth, reading, qc, ts
Task: Retrieve level from wind_speed whose ts is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012420 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: qc, type, depth, level
Sensor: wind_speed | fields: level, reading, depth, lon
Task: Retrieve level from evaporation that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012421 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: level, lon, value, type
Sensor: turbidity | fields: type, level, lat, qc
Task: Retrieve lon from evaporation that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012422 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: ts, reading, unit, value
Sensor: humidity | fields: unit, lon, ts, type
Task: Retrieve reading from air_quality whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012423 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: type, unit, qc, lat
Sensor: drought_index | fields: level, type, lon, qc
Task: Fetch level from humidity where depth is greater than the count of of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012424 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: level, lon, qc, depth
Sensor: lightning | fields: lat, ts, unit, reading
Task: Fetch reading from rainfall where reading is greater than the count of of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012425 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, level, ts, value
Sensor: temperature | fields: value, reading, level, type
Task: Fetch lat from drought_index where reading is greater than the minimum of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012426 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: lon, level, depth, unit
Sensor: uv_index | fields: reading, qc, level, ts
Task: Get lon from evaporation where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012427 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: qc, lat, reading, depth
Sensor: wind_speed | fields: value, lon, lat, ts
Task: Fetch lat from drought_index that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012428 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, depth, unit, reading
Sensor: sunlight | fields: type, value, lat, lon
Task: Retrieve reading from wind_speed that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012429 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: type, level, value, lon
Sensor: drought_index | fields: reading, lon, value, qc
Task: Get lon from frost where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012430 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: value, lon, ts, type
Sensor: soil_moisture | fields: ts, level, value, unit
Task: Retrieve lon from sunlight that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012431 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: level, value, unit, type
Sensor: evaporation | fields: value, type, reading, depth
Task: Retrieve reading from dew_point whose depth is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012432 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: ts, lon, depth, reading
Sensor: temperature | fields: type, qc, ts, value
Task: Get lat from rainfall where value exceeds the maximum reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012433 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lon, value, depth, type
Sensor: turbidity | fields: depth, reading, ts, value
Task: Fetch value from frost where reading is greater than the maximum of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012434 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: qc, level, lon, ts
Sensor: temperature | fields: lon, ts, depth, qc
Task: Get value from air_quality where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012435 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, depth, unit, level
Sensor: air_quality | fields: ts, unit, lat, lon
Task: Fetch reading from visibility where reading is greater than the minimum of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012436 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lat, level, type, reading
Sensor: uv_index | fields: reading, depth, level, unit
Task: Fetch lat from evaporation where depth exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012437 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, lat, depth, value
Sensor: humidity | fields: value, type, depth, reading
Task: Retrieve level from temperature with reading above the MAX(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012438 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: ts, qc, value, depth
Sensor: pressure | fields: level, value, lat, depth
Task: Get lat from lightning where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012439 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, type, value, lon
Sensor: rainfall | fields: depth, level, reading, qc
Task: Fetch level from soil_moisture that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012440 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, reading, type, level
Sensor: turbidity | fields: qc, type, lat, reading
Task: Get lon from drought_index where depth exceeds the count of depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012441 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: type, lat, unit, lon
Sensor: soil_moisture | fields: unit, lon, value, reading
Task: Get reading from visibility where value exceeds the total value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012442 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: value, reading, unit, ts
Sensor: air_quality | fields: lon, depth, type, reading
Task: Retrieve value from drought_index with depth above the MIN(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012443 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: qc, value, lat, type
Sensor: cloud_cover | fields: lon, value, unit, lat
Task: Get depth from temperature where depth exceeds the average depth from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012444 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: type, depth, reading, ts
Sensor: air_quality | fields: type, unit, reading, lat
Task: Retrieve depth from evaporation with reading above the SUM(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012445 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: unit, ts, depth, lat
Sensor: dew_point | fields: lat, type, value, reading
Task: Fetch reading from air_quality that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012446 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: depth, value, lat, unit
Sensor: humidity | fields: value, lon, type, reading
Task: Get level from evaporation where value exceeds the minimum reading from humidity for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012447 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lat, unit, ts, qc
Sensor: drought_index | fields: lat, unit, level, qc
Task: Retrieve reading from temperature with reading above the MIN(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012448 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: ts, value, reading, lon
Sensor: wind_speed | fields: lat, value, depth, reading
Task: Fetch reading from visibility where depth is greater than the minimum of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012449 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: unit, ts, qc, reading
Sensor: temperature | fields: value, level, lon, reading
Task: Fetch level from sunlight that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012450 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, level, value, lat
Sensor: wind_speed | fields: lon, type, value, unit
Task: Get reading from soil_moisture where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012451 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: reading, ts, value, type
Sensor: sunlight | fields: type, depth, qc, lon
Task: Get lat from lightning where depth appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012452 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, depth, value, ts
Sensor: dew_point | fields: depth, reading, value, ts
Task: Fetch depth from soil_moisture where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012453 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, qc, reading, lon
Sensor: evaporation | fields: value, lon, ts, type
Task: Get reading from snow_depth where value exceeds the average reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012454 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: lat, ts, qc, type
Sensor: soil_moisture | fields: unit, type, ts, reading
Task: Fetch lon from sunlight where depth exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012455 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lon, unit, value, lat
Sensor: lightning | fields: ts, value, qc, lon
Task: Fetch depth from frost that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012456 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lon, reading, unit, qc
Sensor: humidity | fields: type, reading, lon, unit
Task: Fetch lat from evaporation where reading is greater than the total of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012457 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, lon, qc, ts
Sensor: pressure | fields: value, level, qc, reading
Task: Retrieve lon from frost whose qc is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012458 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: level, type, ts, qc
Sensor: wind_speed | fields: qc, unit, lon, type
Task: Get lat from snow_depth where depth appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012459 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: type, qc, level, lat
Sensor: dew_point | fields: lat, unit, value, ts
Task: Get lat from frost where qc appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012460 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, depth, lon, reading
Sensor: turbidity | fields: type, reading, ts, lon
Task: Retrieve depth from sunlight with reading above the MIN(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012461 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, depth, lat, qc
Sensor: visibility | fields: lat, type, qc, unit
Task: Retrieve value from pressure that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012462 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: unit, qc, lat, lon
Sensor: wind_speed | fields: reading, depth, ts, value
Task: Retrieve lat from turbidity with depth above the AVG(depth) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012463 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: unit, qc, lon, reading
Sensor: uv_index | fields: depth, ts, lat, value
Task: Fetch reading from dew_point that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012464 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: reading, qc, lon, value
Sensor: snow_depth | fields: qc, value, reading, lon
Task: Fetch lon from sunlight where reading is greater than the minimum of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012465 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: reading, level, depth, ts
Sensor: rainfall | fields: unit, type, level, lat
Task: Retrieve value from sunlight whose depth is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012466 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: type, depth, lon, qc
Sensor: snow_depth | fields: lat, value, reading, level
Task: Get lon from uv_index where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012467 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lat, qc, depth, type
Sensor: humidity | fields: unit, level, type, ts
Task: Fetch lon from sunlight where value is greater than the minimum of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012468 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, depth, reading, lat
Sensor: snow_depth | fields: unit, value, ts, level
Task: Get reading from cloud_cover where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012469 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, lat, lon, level
Sensor: humidity | fields: unit, ts, reading, depth
Task: Fetch depth from pressure where value is greater than the total of depth in humidity for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012470 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, qc, unit, lon
Sensor: visibility | fields: lon, lat, type, unit
Task: Fetch depth from soil_moisture that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012471 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: unit, reading, level, value
Sensor: frost | fields: depth, type, lat, qc
Task: Fetch depth from humidity where depth is greater than the maximum of depth in frost for matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012472 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: unit, level, depth, lat
Sensor: pressure | fields: lat, depth, lon, value
Task: Retrieve value from turbidity whose type is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012473 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: qc, reading, lon, lat
Sensor: wind_speed | fields: level, lat, reading, qc
Task: Get depth from dew_point where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012474 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: reading, type, level, unit
Sensor: temperature | fields: depth, lon, reading, type
Task: Fetch lon from evaporation that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012475 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, type, lon, value
Sensor: sunlight | fields: lat, level, depth, ts
Task: Fetch lat from cloud_cover where ts exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012476 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: unit, type, level, lat
Sensor: humidity | fields: ts, level, qc, reading
Task: Get lon from turbidity where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"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_012477 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: value, depth, lon, unit
Sensor: cloud_cover | fields: value, level, ts, reading
Task: Retrieve lat from rainfall with depth above the MIN(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012478 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: level, value, lat, ts
Sensor: evaporation | fields: type, reading, lat, lon
Task: Fetch level from uv_index that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012479 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, depth, type, value
Sensor: cloud_cover | fields: qc, level, value, unit
Task: Get lat from visibility where reading exceeds the maximum value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012480 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: level, depth, unit, lat
Sensor: cloud_cover | fields: reading, depth, type, lat
Task: Retrieve depth from sunlight that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012481 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, lat, type, depth
Sensor: cloud_cover | fields: reading, value, unit, type
Task: Retrieve reading from turbidity whose ts is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012482 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, depth, level, value
Sensor: humidity | fields: unit, level, depth, qc
Task: Get reading from dew_point where depth appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012483 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: type, level, qc, unit
Sensor: evaporation | fields: reading, depth, unit, qc
Task: Fetch reading from dew_point where value is greater than the minimum of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012484 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, qc, lat, lon
Sensor: humidity | fields: unit, level, depth, value
Task: Get depth from frost where depth exceeds the total value from humidity for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012485 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lat, lon, reading, depth
Sensor: lightning | fields: value, lat, lon, reading
Task: Retrieve reading from pressure with reading above the COUNT(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012486 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: value, reading, ts, lat
Sensor: air_quality | fields: value, level, lon, depth
Task: Fetch level from temperature where depth is greater than the maximum of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012487 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, value, lon, reading
Sensor: lightning | fields: lat, level, unit, lon
Task: Get depth from cloud_cover where value exceeds the maximum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"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_012488 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: depth, lat, qc, lon
Sensor: air_quality | fields: ts, lon, unit, reading
Task: Get lon from uv_index where depth exceeds the total value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012489 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: value, lat, unit, reading
Sensor: soil_moisture | fields: level, depth, ts, unit
Task: Retrieve lon from rainfall that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012490 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: value, level, qc, reading
Sensor: snow_depth | fields: ts, lat, qc, depth
Task: Fetch level from turbidity where ts exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012491 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: ts, reading, qc, unit
Sensor: soil_moisture | fields: level, lon, depth, type
Task: Fetch reading from pressure that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012492 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, qc, type, level
Sensor: air_quality | fields: unit, ts, depth, lat
Task: Retrieve lon from wind_speed with value above the COUNT(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012493 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: type, reading, depth, lon
Sensor: cloud_cover | fields: lon, type, lat, reading
Task: Fetch value from visibility where value is greater than the count of of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012494 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: value, level, qc, ts
Sensor: evaporation | fields: lon, value, unit, level
Task: Retrieve depth from drought_index with value above the AVG(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012495 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lat, type, depth, ts
Sensor: air_quality | fields: value, depth, lon, level
Task: Get lat from temperature where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012496 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: level, type, ts, qc
Sensor: wind_speed | fields: lon, type, reading, unit
Task: Retrieve depth from humidity whose depth is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012497 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: ts, depth, type, qc
Sensor: lightning | fields: lon, ts, reading, qc
Task: Retrieve reading from air_quality with reading above the SUM(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012498 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: reading, level, lon, depth
Sensor: drought_index | fields: level, depth, ts, qc
Task: Retrieve depth from pressure whose type is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.