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: lightning | code: prt | fields: lat, value, lon, unit
Sensor: snow_depth | fields: ts, type, reading, level
Task: Get level from lightning where depth exceeds the total reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077400 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: level, type, lat, value
Sensor: visibility | fields: qc, value, lon, lat
Task: Get reading from pressure where type appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077401 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: reading, level, ts, type
Sensor: air_quality | fields: type, depth, value, level
Task: Fetch reading from drought_index where reading is greater than the count of of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077402 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, unit, lon, reading
Sensor: wind_speed | fields: lon, unit, reading, value
Task: Get depth from snow_depth where depth exceeds the minimum depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077403 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: type, qc, ts, depth
Sensor: rainfall | fields: level, unit, qc, reading
Task: Fetch value from wind_speed where depth is greater than the maximum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"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_077404 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: depth, value, qc, type
Sensor: frost | fields: level, value, lon, type
Task: Get lon from lightning where value exceeds the minimum value from frost for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"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_077405 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, qc, reading, level
Sensor: air_quality | fields: depth, lat, unit, ts
Task: Fetch reading from cloud_cover where value is greater than the total of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077406 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: unit, type, lat, value
Sensor: pressure | fields: lon, level, unit, qc
Task: Fetch depth from temperature that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077407 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: unit, reading, qc, type
Sensor: wind_speed | fields: ts, reading, level, qc
Task: Fetch reading from uv_index that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077408 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: depth, value, qc, reading
Sensor: rainfall | fields: type, lat, lon, value
Task: Fetch depth from temperature where value is greater than the minimum of value in rainfall for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077409 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, reading, unit, depth
Sensor: temperature | fields: lon, value, depth, qc
Task: Get depth from wind_speed where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077410 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: reading, qc, type, lon
Sensor: visibility | fields: reading, type, ts, qc
Task: Get value from temperature where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"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_077411 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: type, lat, depth, lon
Sensor: soil_moisture | fields: level, reading, qc, depth
Task: Get reading from wind_speed where depth exceeds the count of depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077412 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, value, ts, depth
Sensor: wind_speed | fields: level, value, type, lat
Task: Retrieve lat from cloud_cover whose type is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077413 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, level, type, value
Sensor: snow_depth | fields: depth, ts, lat, qc
Task: Get lat from wind_speed where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077414 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, qc, value, lat
Sensor: temperature | fields: qc, reading, ts, type
Task: Retrieve reading from uv_index that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077415 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, unit, value, lon
Sensor: snow_depth | fields: level, lat, qc, reading
Task: Fetch reading from wind_speed where reading is greater than the count of of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077416 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, value, depth, qc
Sensor: visibility | fields: lon, lat, qc, level
Task: Get value from soil_moisture where depth exceeds the maximum value from visibility for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077417 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, level, qc, depth
Sensor: wind_speed | fields: level, value, reading, unit
Task: Fetch reading from dew_point where ts exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077418 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, reading, type, level
Sensor: air_quality | fields: lon, depth, level, ts
Task: Get level from wind_speed where unit appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077419 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: reading, ts, depth, qc
Sensor: soil_moisture | fields: ts, qc, lon, depth
Task: Fetch level from frost that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077420 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: type, unit, depth, ts
Sensor: drought_index | fields: type, lat, reading, unit
Task: Get value from snow_depth where unit appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077421 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: depth, unit, lat, level
Sensor: rainfall | fields: lon, ts, lat, qc
Task: Retrieve lon from sunlight whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077422 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, qc, lat, reading
Sensor: turbidity | fields: qc, lon, value, reading
Task: Get reading from wind_speed where ts appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077423 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lon, ts, type, unit
Sensor: frost | fields: reading, ts, value, depth
Task: Get lat from air_quality where reading exceeds the total depth from frost for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077424 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: type, qc, reading, value
Sensor: uv_index | fields: qc, lat, reading, value
Task: Retrieve depth from visibility that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077425 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: type, lat, unit, lon
Sensor: humidity | fields: level, ts, qc, value
Task: Retrieve depth from snow_depth with depth above the MIN(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077426 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, reading, unit, ts
Sensor: visibility | fields: lat, level, qc, lon
Task: Retrieve level from wind_speed whose unit is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077427 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, lat, type, lon
Sensor: dew_point | fields: value, lat, level, ts
Task: Get lon from visibility where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077428 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, level, value, lon
Sensor: wind_speed | fields: unit, depth, level, value
Task: Fetch lon from soil_moisture where ts exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077429 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lat, type, value, depth
Sensor: cloud_cover | fields: unit, qc, depth, level
Task: Retrieve reading from frost that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077430 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: lat, qc, ts, depth
Sensor: wind_speed | fields: unit, ts, depth, lat
Task: Retrieve depth from evaporation that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077431 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, reading, value, type
Sensor: cloud_cover | fields: level, lat, depth, type
Task: Get level from soil_moisture where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077432 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: depth, reading, level, unit
Sensor: wind_speed | fields: reading, depth, lon, level
Task: Get lon from evaporation where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077433 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: depth, unit, qc, value
Sensor: temperature | fields: level, lat, lon, value
Task: Retrieve lat from turbidity that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077434 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: qc, lon, ts, reading
Sensor: frost | fields: qc, ts, type, value
Task: Fetch reading from turbidity that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077435 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, lat, value, level
Sensor: uv_index | fields: qc, depth, unit, type
Task: Get depth from sunlight where reading exceeds the maximum depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077436 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, depth, unit, reading
Sensor: snow_depth | fields: type, value, level, unit
Task: Fetch reading from rainfall where depth is greater than the count of of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077437 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: value, lon, unit, depth
Sensor: pressure | fields: value, lat, lon, level
Task: Retrieve depth from temperature that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077438 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lat, type, level, value
Sensor: lightning | fields: type, lon, unit, ts
Task: Fetch lat from evaporation where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077439 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lat, depth, level, unit
Sensor: wind_speed | fields: qc, value, lon, lat
Task: Fetch lat from sunlight where depth is greater than the count of of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077440 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lat, level, depth, reading
Sensor: evaporation | fields: reading, qc, level, depth
Task: Fetch lat from uv_index where value is greater than the total of reading in evaporation for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077441 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: value, depth, lat, type
Sensor: snow_depth | fields: value, ts, lon, type
Task: Fetch lat from sunlight where value is greater than the count of of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077442 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lat, value, lon, type
Sensor: soil_moisture | fields: level, value, depth, qc
Task: Get lat from rainfall where value exceeds the count of depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077443 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: value, unit, type, lat
Sensor: temperature | fields: level, value, qc, lon
Task: Retrieve reading from frost with value above the MIN(value) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077444 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: ts, qc, depth, level
Sensor: humidity | fields: unit, lat, value, depth
Task: Fetch reading from visibility that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077445 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: depth, unit, value, lon
Sensor: temperature | fields: lon, depth, reading, value
Task: Retrieve reading from frost with depth above the MIN(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077446 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, reading, type, lon
Sensor: visibility | fields: value, lon, lat, qc
Task: Retrieve level from temperature with reading above the COUNT(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077447 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, level, ts, unit
Sensor: humidity | fields: unit, reading, lat, type
Task: Fetch value from snow_depth where depth exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077448 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lat, level, unit, reading
Sensor: frost | fields: reading, level, qc, depth
Task: Get value from visibility where type appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077449 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, depth, value, type
Sensor: air_quality | fields: ts, reading, value, lon
Task: Retrieve lon from snow_depth that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077450 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: qc, unit, depth, lon
Sensor: snow_depth | fields: reading, ts, value, lat
Task: Fetch lat from visibility that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077451 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, lon, depth, ts
Sensor: drought_index | fields: lat, ts, level, type
Task: Fetch reading from cloud_cover where reading is greater than the maximum of reading in drought_index for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077452 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, level, reading, qc
Sensor: drought_index | fields: type, ts, qc, lat
Task: Retrieve lat from uv_index with reading above the MIN(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077453 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: qc, type, lon, lat
Sensor: evaporation | fields: lat, lon, reading, depth
Task: Retrieve depth from sunlight with value above the SUM(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077454 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lat, reading, value, ts
Sensor: pressure | fields: qc, reading, lat, ts
Task: Fetch lon from visibility that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077455 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: level, reading, value, unit
Sensor: humidity | fields: level, type, value, lon
Task: Retrieve value from lightning that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077456 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lat, type, ts, value
Sensor: evaporation | fields: lon, reading, lat, level
Task: Get reading from lightning where value exceeds the average value from evaporation for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077457 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: qc, unit, depth, lat
Sensor: wind_speed | fields: unit, reading, ts, lon
Task: Get depth from frost where type appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077458 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lon, reading, type, value
Sensor: lightning | fields: value, lat, unit, type
Task: Fetch depth from uv_index that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077459 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: ts, depth, lat, unit
Sensor: rainfall | fields: lon, ts, depth, reading
Task: Retrieve reading from drought_index with reading above the SUM(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077460 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, qc, type, depth
Sensor: humidity | fields: depth, type, unit, ts
Task: Fetch lat from snow_depth where reading is greater than the total of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077461 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: ts, unit, lon, qc
Sensor: pressure | fields: lon, qc, value, depth
Task: Retrieve reading from temperature whose unit is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077462 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, qc, type, lon
Sensor: frost | fields: type, lon, value, level
Task: Retrieve value from lightning with value above the COUNT(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077463 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, reading, lat, depth
Sensor: air_quality | fields: lon, depth, type, unit
Task: Retrieve reading from soil_moisture whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077464 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: type, value, reading, ts
Sensor: cloud_cover | fields: lat, unit, type, value
Task: Get level from temperature where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077465 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, depth, value, qc
Sensor: uv_index | fields: lon, value, qc, level
Task: Retrieve lon from turbidity with reading above the MAX(value) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077466 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lon, lat, type, depth
Sensor: evaporation | fields: type, value, qc, lat
Task: Retrieve value from dew_point whose unit is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077467 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lon, unit, level, reading
Sensor: air_quality | fields: unit, level, type, ts
Task: Get level from uv_index where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077468 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, value, level, lon
Sensor: wind_speed | fields: lat, type, unit, lon
Task: Get lat from snow_depth where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077469 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, lon, type, value
Sensor: dew_point | fields: unit, depth, qc, lon
Task: Fetch value from uv_index where depth exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077470 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: unit, value, lat, depth
Sensor: turbidity | fields: lon, qc, type, unit
Task: Retrieve lat from temperature that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077471 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: reading, qc, lon, unit
Sensor: cloud_cover | fields: lat, ts, value, type
Task: Retrieve value from humidity that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077472 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: type, depth, unit, qc
Sensor: evaporation | fields: value, lon, type, lat
Task: Get reading from air_quality where unit appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077473 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: depth, type, value, lon
Sensor: uv_index | fields: qc, ts, value, lat
Task: Get reading from dew_point where reading exceeds the total value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077474 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, unit, reading, qc
Sensor: turbidity | fields: reading, unit, level, value
Task: Get level from soil_moisture where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077475 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lat, reading, type, level
Sensor: visibility | fields: lat, ts, reading, lon
Task: Get depth from evaporation where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077476 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, ts, value, lat
Sensor: snow_depth | fields: qc, value, ts, type
Task: Retrieve level from visibility that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077477 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, ts, level, depth
Sensor: evaporation | fields: unit, level, type, reading
Task: Fetch lon from soil_moisture where depth is greater than the average of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077478 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: level, type, qc, depth
Sensor: temperature | fields: ts, level, qc, depth
Task: Get lon from snow_depth where depth appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077479 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lat, ts, qc, level
Sensor: soil_moisture | fields: lon, qc, unit, reading
Task: Fetch lon from drought_index where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077480 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, ts, qc, lat
Sensor: turbidity | fields: value, depth, qc, ts
Task: Retrieve lon from wind_speed whose depth is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077481 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, value, level, ts
Sensor: wind_speed | fields: depth, lat, level, value
Task: Retrieve reading from humidity with depth above the COUNT(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077482 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: level, reading, qc, lat
Sensor: dew_point | fields: value, qc, ts, reading
Task: Get level from drought_index where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077483 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, lon, value, qc
Sensor: turbidity | fields: qc, type, ts, value
Task: Get value from cloud_cover where depth exceeds the maximum depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077484 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: ts, depth, type, unit
Sensor: snow_depth | fields: value, level, qc, lon
Task: Get lat from rainfall where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077485 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: level, qc, type, value
Sensor: snow_depth | fields: unit, ts, lon, reading
Task: Fetch lat from rainfall where depth is greater than the minimum of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077486 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: ts, depth, type, level
Sensor: turbidity | fields: qc, lat, ts, value
Task: Retrieve lat from dew_point that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077487 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, ts, lat, reading
Sensor: temperature | fields: reading, value, depth, level
Task: Retrieve lat from soil_moisture whose type is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077488 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: lat, value, depth, reading
Sensor: drought_index | fields: unit, value, lat, reading
Task: Fetch level from temperature where qc exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077489 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: value, type, level, unit
Sensor: evaporation | fields: lat, value, lon, type
Task: Retrieve lon from turbidity with depth above the MIN(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077490 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: ts, qc, level, lon
Sensor: cloud_cover | fields: unit, lat, lon, ts
Task: Fetch level from lightning where qc exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077491 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: level, lat, value, reading
Sensor: rainfall | fields: depth, lon, type, unit
Task: Get depth from evaporation where unit appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077492 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: value, depth, lon, type
Sensor: sunlight | fields: ts, level, unit, qc
Task: Get depth from snow_depth where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077493 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: depth, level, unit, type
Sensor: evaporation | fields: ts, lat, reading, depth
Task: Fetch depth from temperature where reading is greater than the minimum of value in evaporation for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077494 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, ts, depth, value
Sensor: wind_speed | fields: lat, reading, ts, type
Task: Retrieve reading from lightning whose depth is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077495 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: qc, depth, value, level
Sensor: temperature | fields: type, depth, qc, lat
Task: Retrieve lon from dew_point whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077496 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: qc, unit, ts, level
Sensor: rainfall | fields: qc, depth, lon, value
Task: Fetch reading from uv_index where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077497 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, reading, lon, type
Sensor: snow_depth | fields: level, unit, lat, value
Task: Get level from soil_moisture where depth exceeds the average depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077498 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lat, ts, type, value
Sensor: temperature | fields: level, qc, lon, lat
Task: Get lat from turbidity where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.