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: humidity | code: prt | fields: lat, value, reading, level
Sensor: pressure | fields: qc, depth, type, value
Task: Retrieve level from humidity whose qc is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019500 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, lat, qc, depth
Sensor: drought_index | fields: depth, qc, lat, reading
Task: Get lon from soil_moisture where unit appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019501 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: type, qc, value, depth
Sensor: turbidity | fields: level, unit, reading, ts
Task: Get value from uv_index where reading exceeds the maximum reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019502 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: reading, level, ts, lat
Sensor: soil_moisture | fields: type, lat, unit, depth
Task: Fetch reading from humidity where depth is greater than the total of value in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019503 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, lon, value, level
Sensor: turbidity | fields: qc, depth, value, unit
Task: Retrieve value from wind_speed with depth above the COUNT(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019504 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: qc, unit, value, level
Sensor: humidity | fields: qc, depth, value, lat
Task: Get reading from pressure where depth exceeds the minimum value from humidity for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019505 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: type, lon, qc, unit
Sensor: dew_point | fields: ts, depth, lon, type
Task: Get depth from snow_depth where ts appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019506 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, type, unit, reading
Sensor: pressure | fields: lon, reading, lat, value
Task: Retrieve reading from soil_moisture with depth above the MIN(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019507 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: unit, reading, value, qc
Sensor: dew_point | fields: ts, level, depth, type
Task: Fetch depth from humidity where type exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019508 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, depth, lon, reading
Sensor: soil_moisture | fields: reading, lon, value, unit
Task: Get value from wind_speed where depth exceeds the total value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019509 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: type, ts, lon, unit
Sensor: humidity | fields: ts, level, unit, depth
Task: Get lat from temperature where type appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019510 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: lat, value, qc, lon
Sensor: wind_speed | fields: qc, level, lat, type
Task: Get value from turbidity where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019511 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, reading, depth, unit
Sensor: drought_index | fields: reading, type, depth, unit
Task: Get lon from frost where reading exceeds the average value from drought_index for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019512 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: unit, qc, ts, value
Sensor: cloud_cover | fields: depth, type, ts, lon
Task: Retrieve reading from air_quality that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019513 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, lat, type, lon
Sensor: soil_moisture | fields: depth, lat, qc, reading
Task: Get depth from cloud_cover where depth exceeds the minimum reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019514 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lat, level, reading, value
Sensor: air_quality | fields: value, level, depth, unit
Task: Fetch lon from uv_index that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019515 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, value, unit, qc
Sensor: drought_index | fields: ts, qc, depth, type
Task: Retrieve lon from wind_speed whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019516 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: depth, value, reading, lon
Sensor: dew_point | fields: lon, type, level, qc
Task: Get level from rainfall where depth exceeds the total reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019517 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: value, type, lon, ts
Sensor: evaporation | fields: type, qc, depth, unit
Task: Fetch lon from rainfall that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019518 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: level, lon, qc, value
Sensor: soil_moisture | fields: type, unit, qc, depth
Task: Retrieve reading from air_quality with value above the SUM(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019519 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: depth, lon, qc, reading
Sensor: air_quality | fields: unit, reading, depth, level
Task: Fetch level from dew_point that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019520 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lon, unit, depth, qc
Sensor: temperature | fields: qc, type, reading, lon
Task: Get lon from rainfall where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019521 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lat, depth, unit, value
Sensor: uv_index | fields: reading, lon, unit, type
Task: Fetch value from dew_point where ts exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019522 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lat, reading, qc, ts
Sensor: air_quality | fields: ts, level, type, qc
Task: Retrieve value from visibility with depth above the COUNT(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019523 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, qc, type, lat
Sensor: uv_index | fields: unit, type, lon, qc
Task: Fetch level from humidity that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019524 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lat, qc, type, lon
Sensor: dew_point | fields: qc, depth, reading, value
Task: Get level from drought_index where depth appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019525 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: value, reading, ts, lat
Sensor: temperature | fields: reading, lon, unit, depth
Task: Retrieve lat from visibility that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019526 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: reading, lat, qc, depth
Sensor: air_quality | fields: qc, reading, depth, value
Task: Get lon from evaporation where unit appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019527 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, value, lat, unit
Sensor: dew_point | fields: qc, value, lat, unit
Task: Get reading from turbidity where depth exceeds the count of depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019528 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, level, type, unit
Sensor: temperature | fields: depth, value, qc, lat
Task: Retrieve value from cloud_cover that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019529 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: level, qc, lat, type
Sensor: dew_point | fields: value, lat, lon, qc
Task: Fetch depth from lightning where ts exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019530 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: type, reading, qc, unit
Sensor: pressure | fields: lon, lat, unit, qc
Task: Get reading from temperature where ts appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019531 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, ts, qc, unit
Sensor: lightning | fields: reading, unit, lat, ts
Task: Fetch value from dew_point where depth is greater than the maximum of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019532 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: type, reading, lon, ts
Sensor: air_quality | fields: reading, depth, qc, type
Task: Retrieve reading from evaporation that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019533 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: qc, value, type, level
Sensor: dew_point | fields: lon, lat, ts, depth
Task: Fetch level from uv_index where depth exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019534 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: level, type, unit, ts
Sensor: cloud_cover | fields: lon, depth, level, unit
Task: Get value from drought_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019535 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: lat, reading, unit, depth
Sensor: air_quality | fields: level, ts, depth, type
Task: Get lon from humidity where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019536 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lon, type, unit, value
Sensor: frost | fields: depth, reading, qc, lat
Task: Retrieve lat from temperature whose depth is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019537 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, value, qc, level
Sensor: visibility | fields: depth, ts, qc, value
Task: Fetch lat from pressure that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019538 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, level, qc, unit
Sensor: turbidity | fields: level, value, type, qc
Task: Get reading from drought_index where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019539 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: level, lon, qc, ts
Sensor: drought_index | fields: depth, type, reading, unit
Task: Fetch value from snow_depth that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019540 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, level, type, qc
Sensor: dew_point | fields: reading, lat, depth, value
Task: Fetch level from soil_moisture where ts exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019541 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lat, level, reading, unit
Sensor: snow_depth | fields: qc, lat, value, level
Task: Get value from temperature where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019542 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: type, level, lat, ts
Sensor: lightning | fields: lon, lat, ts, qc
Task: Get value from temperature where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019543 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: unit, value, type, level
Sensor: humidity | fields: lat, qc, value, type
Task: Fetch lon from temperature that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019544 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lat, level, reading, value
Sensor: cloud_cover | fields: depth, type, ts, unit
Task: Get lat from humidity where qc appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019545 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, unit, ts, level
Sensor: frost | fields: qc, depth, value, ts
Task: Get lat from dew_point where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019546 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: lat, reading, level, unit
Sensor: visibility | fields: depth, lat, level, ts
Task: Retrieve level from evaporation that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019547 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: depth, ts, value, lon
Sensor: uv_index | fields: reading, type, qc, lon
Task: Get lon from sunlight where type appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019548 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: level, ts, unit, qc
Sensor: air_quality | fields: lat, depth, type, lon
Task: Get depth from sunlight where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019549 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, value, lon, level
Sensor: frost | fields: lat, unit, qc, reading
Task: Fetch lat from wind_speed where type exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019550 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: ts, unit, depth, lon
Sensor: evaporation | fields: qc, lat, level, depth
Task: Get reading from rainfall where type appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019551 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: type, lat, level, ts
Sensor: air_quality | fields: qc, ts, depth, reading
Task: Fetch reading from rainfall where reading is greater than the average of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019552 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lon, depth, lat, value
Sensor: air_quality | fields: reading, type, depth, level
Task: Fetch lon from rainfall where reading is greater than the minimum of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019553 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, type, value, unit
Sensor: cloud_cover | fields: unit, value, level, qc
Task: Retrieve value from soil_moisture that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019554 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: depth, unit, ts, level
Sensor: sunlight | fields: depth, unit, level, reading
Task: Retrieve lat from air_quality whose depth is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019555 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: depth, level, lat, type
Sensor: soil_moisture | fields: ts, level, unit, depth
Task: Fetch lat from frost that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019556 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, lon, value, ts
Sensor: rainfall | fields: type, lon, depth, qc
Task: Get value from drought_index where value exceeds the minimum value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019557 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: depth, lon, qc, level
Sensor: dew_point | fields: qc, value, ts, lat
Task: Get lat from humidity where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019558 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: level, depth, type, reading
Sensor: evaporation | fields: lat, unit, lon, value
Task: Retrieve reading from air_quality with depth above the MIN(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019559 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lat, depth, qc, lon
Sensor: soil_moisture | fields: qc, type, ts, reading
Task: Retrieve lon from humidity with reading above the AVG(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019560 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, depth, reading, ts
Sensor: lightning | fields: reading, qc, value, depth
Task: Retrieve value from drought_index whose ts is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019561 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: ts, depth, qc, value
Sensor: cloud_cover | fields: lat, type, reading, level
Task: Fetch lat from drought_index that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019562 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, value, unit, reading
Sensor: visibility | fields: lon, qc, reading, depth
Task: Retrieve level from wind_speed that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019563 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: ts, depth, lon, lat
Sensor: frost | fields: unit, qc, type, depth
Task: Fetch level from visibility where qc exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019564 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, qc, value, level
Sensor: rainfall | fields: type, depth, value, ts
Task: Retrieve depth from snow_depth whose unit is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"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_019565 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: qc, level, lat, type
Sensor: lightning | fields: qc, lon, value, lat
Task: Retrieve value from rainfall that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019566 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: type, value, level, reading
Sensor: wind_speed | fields: depth, qc, type, reading
Task: Get lat from visibility where reading exceeds the maximum depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019567 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: value, reading, type, level
Sensor: uv_index | fields: lon, level, lat, reading
Task: Retrieve depth from drought_index that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019568 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, reading, type, qc
Sensor: drought_index | fields: type, unit, lat, level
Task: Fetch value from cloud_cover where depth is greater than the total of depth in drought_index for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019569 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, lon, lat, reading
Sensor: soil_moisture | fields: lat, qc, reading, lon
Task: Get reading from wind_speed where qc appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019570 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, unit, ts, depth
Sensor: sunlight | fields: type, lat, lon, level
Task: Fetch lat from cloud_cover where reading is greater than the total of value in sunlight for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019571 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: reading, lat, unit, value
Sensor: turbidity | fields: type, unit, reading, lon
Task: Fetch reading from evaporation where depth is greater than the maximum of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019572 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: unit, qc, reading, depth
Sensor: evaporation | fields: depth, level, lat, value
Task: Fetch depth from pressure where value is greater than the total of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019573 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: value, reading, lat, ts
Sensor: evaporation | fields: lat, ts, reading, level
Task: Get depth from rainfall where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019574 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: qc, unit, value, lat
Sensor: temperature | fields: qc, depth, lon, ts
Task: Retrieve depth from visibility with reading above the AVG(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019575 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: lon, qc, reading, ts
Sensor: dew_point | fields: value, level, unit, lat
Task: Get value from evaporation where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019576 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: value, ts, reading, level
Sensor: rainfall | fields: lon, unit, ts, qc
Task: Retrieve lat from wind_speed with value above the SUM(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019577 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: unit, lat, level, reading
Sensor: evaporation | fields: qc, unit, depth, lon
Task: Fetch depth from air_quality that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019578 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: reading, value, depth, ts
Sensor: pressure | fields: qc, lon, ts, lat
Task: Fetch depth from dew_point where qc exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019579 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: unit, reading, qc, level
Sensor: rainfall | fields: level, unit, lon, reading
Task: Get depth from visibility where value exceeds the count of depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019580 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: type, lat, depth, value
Sensor: frost | fields: depth, unit, ts, level
Task: Fetch depth from drought_index where depth is greater than the total of value in frost for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019581 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: type, level, value, unit
Sensor: temperature | fields: depth, qc, unit, ts
Task: Retrieve level from wind_speed whose qc is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019582 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, reading, type, ts
Sensor: temperature | fields: level, lat, depth, lon
Task: Get level from dew_point where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019583 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, unit, ts, value
Sensor: drought_index | fields: ts, lon, value, unit
Task: Get lon from soil_moisture where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019584 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: type, reading, lat, level
Sensor: wind_speed | fields: qc, unit, lon, type
Task: Fetch lon from sunlight where value is greater than the maximum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019585 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, level, unit, value
Sensor: lightning | fields: level, value, depth, type
Task: Get level from humidity where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019586 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: type, ts, depth, reading
Sensor: cloud_cover | fields: depth, ts, qc, unit
Task: Fetch lon from pressure where reading is greater than the minimum of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019587 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: qc, level, value, lon
Sensor: lightning | fields: type, ts, reading, value
Task: Retrieve lon from humidity that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019588 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: unit, lat, reading, type
Sensor: air_quality | fields: ts, level, reading, unit
Task: Fetch lon from uv_index that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019589 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, type, lat, depth
Sensor: turbidity | fields: lat, depth, lon, unit
Task: Fetch reading from evaporation where reading is greater than the total of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019590 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: value, unit, depth, ts
Sensor: cloud_cover | fields: reading, level, depth, unit
Task: Get depth from sunlight where value exceeds the maximum value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019591 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, lat, value, qc
Sensor: wind_speed | fields: reading, type, unit, value
Task: Fetch value from snow_depth that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019592 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: unit, reading, value, qc
Sensor: dew_point | fields: value, type, reading, level
Task: Fetch lon from pressure where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019593 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: level, unit, lat, lon
Sensor: snow_depth | fields: type, qc, lon, level
Task: Get level from pressure where value exceeds the average value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019594 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: qc, type, lat, reading
Sensor: evaporation | fields: unit, ts, qc, lon
Task: Retrieve level from pressure that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019595 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: unit, ts, reading, type
Sensor: temperature | fields: reading, depth, ts, value
Task: Fetch level from drought_index where depth exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019596 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: qc, level, unit, lat
Sensor: dew_point | fields: lat, ts, type, depth
Task: Fetch lon from lightning where ts exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019597 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: ts, depth, type, value
Sensor: soil_moisture | fields: lat, lon, ts, type
Task: Fetch lon from pressure where reading is greater than the average of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019598 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, lat, value, unit
Sensor: dew_point | fields: level, value, unit, depth
Task: Get reading from soil_moisture where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.