variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: pressure | code: prt | fields: level, unit, value, reading
Sensor: visibility | fields: type, value, level, lat
Task: Retrieve level from pressure whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008400 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, type, qc, depth
Sensor: wind_speed | fields: lon, qc, unit, reading
Task: Get reading from drought_index where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008401 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, value, ts, lat
Sensor: soil_moisture | fields: qc, type, lon, depth
Task: Fetch lat from cloud_cover where value is greater than the count of of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"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_008402 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: type, lat, value, unit
Sensor: soil_moisture | fields: lat, lon, level, qc
Task: Fetch depth from turbidity that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008403 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: type, value, unit, qc
Sensor: evaporation | fields: qc, reading, ts, lon
Task: Get lat from turbidity where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008404 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: value, type, reading, lon
Sensor: temperature | fields: type, qc, value, depth
Task: Retrieve level from frost with value above the AVG(reading) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008405 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lon, depth, unit, value
Sensor: lightning | fields: lat, depth, level, ts
Task: Fetch lon from humidity where ts exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008406 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: ts, type, lon, reading
Sensor: air_quality | fields: type, level, qc, lat
Task: Get lat from visibility where depth exceeds the average value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008407 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: depth, unit, level, type
Sensor: dew_point | fields: lon, type, level, reading
Task: Get lat from evaporation where depth appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008408 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, qc, level, type
Sensor: rainfall | fields: depth, qc, ts, unit
Task: Get reading from air_quality where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008409 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: type, unit, lon, ts
Sensor: pressure | fields: ts, depth, lon, value
Task: Fetch reading from air_quality where value is greater than the average of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008410 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: depth, unit, value, reading
Sensor: lightning | fields: lat, value, reading, lon
Task: Retrieve value from drought_index that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008411 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, ts, type, qc
Sensor: lightning | fields: depth, level, type, lon
Task: Fetch depth from cloud_cover where depth exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008412 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: value, qc, type, reading
Sensor: temperature | fields: level, depth, type, reading
Task: Retrieve depth from humidity that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008413 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: ts, type, lon, qc
Sensor: air_quality | fields: lon, depth, lat, value
Task: Fetch lat from evaporation that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008414 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lon, type, lat, ts
Sensor: rainfall | fields: value, type, depth, level
Task: Fetch lon from pressure where depth is greater than the average of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008415 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: ts, depth, reading, type
Sensor: wind_speed | fields: lon, level, unit, qc
Task: Get lat from drought_index where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008416 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: reading, unit, type, lon
Sensor: wind_speed | fields: reading, value, lon, type
Task: Get depth from air_quality where unit appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008417 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: depth, level, ts, type
Sensor: turbidity | fields: level, value, qc, lon
Task: Fetch depth from evaporation where qc exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008418 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lat, ts, value, qc
Sensor: dew_point | fields: reading, ts, depth, value
Task: Retrieve depth from uv_index whose ts is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008419 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: reading, qc, type, unit
Sensor: turbidity | fields: qc, level, reading, value
Task: Fetch reading from humidity where value is greater than the maximum of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008420 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: ts, value, type, qc
Sensor: dew_point | fields: lon, reading, ts, value
Task: Retrieve lat from temperature whose unit is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008421 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, type, qc, lat
Sensor: drought_index | fields: lon, ts, depth, type
Task: Get reading from wind_speed where reading exceeds the total depth from drought_index for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008422 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: unit, value, type, lon
Sensor: temperature | fields: value, depth, level, ts
Task: Fetch level from air_quality that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008423 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, unit, level, depth
Sensor: turbidity | fields: lon, depth, value, type
Task: Retrieve lon from cloud_cover that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008424 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, value, reading, level
Sensor: uv_index | fields: qc, unit, lat, level
Task: Get value from snow_depth where depth appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008425 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: unit, value, lon, ts
Sensor: soil_moisture | fields: value, ts, qc, lon
Task: Get depth from temperature where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008426 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lon, reading, level, ts
Sensor: wind_speed | fields: reading, lon, lat, unit
Task: Get lon from dew_point where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008427 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, type, qc, reading
Sensor: evaporation | fields: type, reading, lon, ts
Task: Retrieve lon from snow_depth that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008428 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: unit, qc, depth, lon
Sensor: turbidity | fields: ts, type, reading, value
Task: Get lon from rainfall where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008429 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, lat, qc, type
Sensor: frost | fields: reading, depth, qc, unit
Task: Retrieve lat from rainfall whose type is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008430 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: unit, value, reading, lat
Sensor: sunlight | fields: type, unit, reading, ts
Task: Retrieve reading from lightning that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008431 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, depth, type, level
Sensor: frost | fields: depth, reading, ts, lon
Task: Get value from cloud_cover where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008432 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: unit, qc, level, lon
Sensor: wind_speed | fields: lat, depth, ts, value
Task: Fetch value from pressure where qc exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008433 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: reading, unit, lat, qc
Sensor: sunlight | fields: ts, reading, lat, lon
Task: Get reading from uv_index where ts appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008434 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: unit, level, ts, reading
Sensor: dew_point | fields: ts, lon, type, lat
Task: Fetch level from humidity where unit exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008435 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, lon, level, depth
Sensor: frost | fields: reading, qc, unit, lat
Task: Fetch reading from snow_depth that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008436 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, qc, type, level
Sensor: wind_speed | fields: type, ts, qc, level
Task: Get value from visibility where depth exceeds the average reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008437 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, unit, level, type
Sensor: sunlight | fields: type, lat, level, lon
Task: Get depth from drought_index where value exceeds the minimum value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008438 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, value, depth, lat
Sensor: dew_point | fields: qc, type, value, reading
Task: Fetch value from lightning where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008439 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: type, depth, ts, lon
Sensor: wind_speed | fields: level, lat, reading, unit
Task: Get reading from sunlight where reading exceeds the total depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008440 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, depth, ts, level
Sensor: visibility | fields: level, unit, qc, lat
Task: Retrieve depth from rainfall with value above the SUM(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008441 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, type, depth, reading
Sensor: cloud_cover | fields: qc, level, lon, value
Task: Get value from frost where qc appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008442 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lat, type, unit, ts
Sensor: humidity | fields: type, qc, ts, level
Task: Retrieve reading from evaporation whose depth is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008443 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lon, qc, value, reading
Sensor: soil_moisture | fields: reading, ts, level, unit
Task: Retrieve depth from pressure with reading above the MAX(value) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008444 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, qc, reading, depth
Sensor: dew_point | fields: lat, type, lon, level
Task: Get reading from cloud_cover where ts appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008445 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, depth, reading, lon
Sensor: evaporation | fields: lon, reading, level, type
Task: Get lat from cloud_cover where reading exceeds the minimum depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008446 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lon, value, level, ts
Sensor: evaporation | fields: lat, unit, value, ts
Task: Get reading from turbidity where type appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008447 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, reading, level, qc
Sensor: snow_depth | fields: qc, reading, unit, depth
Task: Get depth from soil_moisture where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008448 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lat, qc, lon, type
Sensor: wind_speed | fields: type, reading, level, lon
Task: Fetch value from dew_point that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008449 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lat, value, level, depth
Sensor: frost | fields: unit, reading, type, ts
Task: Get lat from evaporation where unit appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008450 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: ts, lon, unit, type
Sensor: wind_speed | fields: unit, value, reading, lon
Task: Get level from uv_index where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008451 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: value, lon, reading, qc
Sensor: temperature | fields: unit, depth, value, reading
Task: Fetch level from wind_speed where type exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008452 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: level, qc, lat, lon
Sensor: dew_point | fields: type, value, lon, lat
Task: Get lon from uv_index where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008453 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, qc, unit, level
Sensor: wind_speed | fields: ts, reading, unit, type
Task: Get lat from frost where unit appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008454 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: ts, unit, level, value
Sensor: drought_index | fields: lon, type, value, reading
Task: Get value from evaporation where value exceeds the count of value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008455 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: type, value, qc, reading
Sensor: evaporation | fields: ts, qc, type, lat
Task: Retrieve level from air_quality with value above the MIN(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008456 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: ts, lat, depth, qc
Sensor: uv_index | fields: ts, unit, type, value
Task: Retrieve value from evaporation whose qc is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008457 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: reading, lat, depth, qc
Sensor: rainfall | fields: depth, unit, value, reading
Task: Fetch lat from drought_index where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008458 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: type, lon, qc, level
Sensor: snow_depth | fields: lon, ts, type, level
Task: Retrieve value from wind_speed with reading above the MIN(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008459 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lat, ts, value, unit
Sensor: visibility | fields: lon, qc, lat, depth
Task: Fetch value from frost where depth is greater than the minimum of depth in visibility for matching qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008460 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, type, reading, ts
Sensor: turbidity | fields: lon, type, reading, ts
Task: Get lon from frost where value exceeds the maximum depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008461 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: type, lat, unit, reading
Sensor: evaporation | fields: depth, type, value, qc
Task: Fetch reading from lightning where reading is greater than the maximum of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008462 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lon, qc, reading, value
Sensor: soil_moisture | fields: qc, unit, ts, type
Task: Retrieve depth from dew_point that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008463 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: qc, value, type, depth
Sensor: turbidity | fields: lat, value, lon, qc
Task: Get value from temperature where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008464 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: value, lat, type, lon
Sensor: frost | fields: depth, reading, lon, ts
Task: Get value from temperature where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008465 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: unit, level, type, ts
Sensor: drought_index | fields: level, unit, qc, lon
Task: Retrieve level from air_quality with value above the MAX(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008466 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: type, qc, ts, lon
Sensor: evaporation | fields: unit, depth, lat, qc
Task: Fetch lat from rainfall where depth is greater than the total of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008467 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: value, type, qc, ts
Sensor: soil_moisture | fields: lon, type, value, qc
Task: Fetch depth from visibility where depth is greater than the count of of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008468 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: depth, reading, qc, value
Sensor: evaporation | fields: reading, qc, lat, type
Task: Retrieve depth from drought_index whose depth is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008469 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lon, lat, level, value
Sensor: soil_moisture | fields: lon, ts, level, unit
Task: Fetch reading from rainfall where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008470 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, type, qc, lat
Sensor: turbidity | fields: unit, qc, lat, lon
Task: Get value from visibility where reading exceeds the maximum value from turbidity for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008471 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, type, qc, value
Sensor: evaporation | fields: lon, depth, lat, value
Task: Retrieve lon from cloud_cover with reading above the SUM(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008472 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, type, lat, qc
Sensor: pressure | fields: depth, lat, level, unit
Task: Get depth from wind_speed where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008473 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: type, reading, level, lon
Sensor: rainfall | fields: depth, lat, unit, level
Task: Fetch reading from sunlight where depth is greater than the count of of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008474 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, lon, reading, type
Sensor: turbidity | fields: value, unit, ts, depth
Task: Retrieve depth from evaporation whose type is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008475 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: ts, lat, level, value
Sensor: air_quality | fields: type, lon, depth, lat
Task: Get level from sunlight where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008476 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: reading, unit, qc, type
Sensor: frost | fields: level, reading, unit, value
Task: Get level from air_quality where depth exceeds the minimum depth from frost for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008477 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: level, lat, reading, type
Sensor: sunlight | fields: lon, type, qc, lat
Task: Get value from dew_point where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008478 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lon, lat, qc, type
Sensor: uv_index | fields: type, ts, depth, level
Task: Get value from dew_point where ts appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008479 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lat, ts, qc, reading
Sensor: soil_moisture | fields: type, lon, ts, level
Task: Fetch level from pressure where reading is greater than the average of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008480 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: reading, depth, ts, qc
Sensor: temperature | fields: value, reading, unit, depth
Task: Fetch level from turbidity where qc exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008481 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: value, depth, type, qc
Sensor: turbidity | fields: value, ts, qc, type
Task: Get reading from pressure where depth exceeds the total depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008482 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: value, lat, unit, level
Sensor: drought_index | fields: value, lon, lat, qc
Task: Get level from pressure where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008483 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, value, lon, level
Sensor: rainfall | fields: lat, type, unit, depth
Task: Fetch depth from air_quality where ts exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008484 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, unit, reading, type
Sensor: temperature | fields: type, unit, lat, depth
Task: Get lon from air_quality where type appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008485 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: ts, reading, level, depth
Sensor: air_quality | fields: level, reading, lon, lat
Task: Retrieve lon from turbidity with reading above the MIN(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008486 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: reading, depth, qc, ts
Sensor: evaporation | fields: ts, value, unit, level
Task: Fetch lat from turbidity that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008487 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: reading, lon, qc, value
Sensor: soil_moisture | fields: lon, type, ts, lat
Task: Fetch level from humidity that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008488 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: unit, qc, depth, reading
Sensor: rainfall | fields: type, qc, value, level
Task: Retrieve lat from sunlight with depth above the MIN(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008489 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: qc, ts, level, unit
Sensor: turbidity | fields: lat, depth, lon, unit
Task: Retrieve value from humidity that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008490 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lat, ts, unit, depth
Sensor: dew_point | fields: value, lon, depth, unit
Task: Get value from rainfall where reading exceeds the average value from dew_point for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008491 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lat, depth, reading, level
Sensor: air_quality | fields: lat, reading, unit, depth
Task: Retrieve lat from drought_index that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008492 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lon, reading, depth, lat
Sensor: cloud_cover | fields: type, lat, qc, lon
Task: Get depth from turbidity where reading exceeds the average reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008493 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, reading, lon, type
Sensor: dew_point | fields: lat, unit, level, ts
Task: Retrieve lat from temperature that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008494 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: type, level, reading, lon
Sensor: soil_moisture | fields: unit, type, value, lon
Task: Fetch lat from lightning where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008495 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: value, ts, reading, unit
Sensor: visibility | fields: ts, type, qc, reading
Task: Get depth from air_quality where value exceeds the total depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008496 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, lat, level, reading
Sensor: sunlight | fields: qc, depth, reading, type
Task: Retrieve lon from pressure that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008497 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: ts, depth, qc, level
Sensor: drought_index | fields: type, unit, value, lat
Task: Fetch lat from lightning where depth is greater than the minimum of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008498 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: level, depth, unit, value
Sensor: pressure | fields: qc, ts, unit, lat
Task: Fetch lon from rainfall where reading is greater than the average of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.