variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, lat, unit, level
Sensor: cloud_cover | fields: lon, qc, level, lat
Task: Get depth from sunlight where depth exceeds the count of value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002700 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: unit, level, type, lat
Sensor: lightning | fields: value, type, ts, lat
Task: Retrieve lat from visibility whose ts is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002701 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: reading, type, qc, value
Sensor: rainfall | fields: unit, level, depth, qc
Task: Retrieve level from pressure that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002702 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: value, depth, qc, level
Sensor: pressure | fields: level, reading, lon, lat
Task: Fetch value from dew_point where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002703 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: level, lon, reading, lat
Sensor: evaporation | fields: value, qc, reading, depth
Task: Retrieve depth from turbidity that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002704 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: type, qc, unit, ts
Sensor: air_quality | fields: lat, value, type, depth
Task: Fetch reading from evaporation that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002705 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: type, unit, reading, lat
Sensor: snow_depth | fields: qc, level, ts, lon
Task: Retrieve lat from visibility with value above the MAX(reading) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002706 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: reading, level, lat, unit
Sensor: turbidity | fields: qc, lon, depth, lat
Task: Get depth from pressure where depth appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002707 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, type, lon, qc
Sensor: visibility | fields: level, reading, qc, type
Task: Get depth from wind_speed where reading exceeds the maximum depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002708 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: reading, lat, level, value
Sensor: frost | fields: reading, qc, lat, ts
Task: Get level from visibility where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002709 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: level, lon, qc, lat
Sensor: dew_point | fields: ts, lon, depth, unit
Task: Fetch value from uv_index where unit exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002710 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: value, level, reading, unit
Sensor: sunlight | fields: reading, qc, type, unit
Task: Retrieve depth from uv_index with value above the MAX(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002711 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, ts, depth, value
Sensor: uv_index | fields: unit, value, reading, lat
Task: Fetch depth from rainfall where value is greater than the minimum of depth in uv_index for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002712 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lon, qc, value, ts
Sensor: uv_index | fields: lat, depth, unit, qc
Task: Retrieve lon from rainfall with value above the MIN(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002713 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: unit, value, lat, ts
Sensor: snow_depth | fields: lat, type, level, value
Task: Retrieve lat from dew_point with depth above the COUNT(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002714 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: level, value, qc, ts
Sensor: turbidity | fields: reading, unit, level, lat
Task: Get lon from snow_depth where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002715 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, level, depth, lat
Sensor: humidity | fields: lat, level, depth, value
Task: Retrieve depth from snow_depth whose depth is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002716 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: value, level, qc, type
Sensor: lightning | fields: level, unit, type, depth
Task: Retrieve reading from frost that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002717 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: value, lon, ts, unit
Sensor: turbidity | fields: lat, unit, qc, lon
Task: Get lon from rainfall where depth exceeds the count of reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002718 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, ts, reading, value
Sensor: temperature | fields: lat, ts, value, type
Task: Retrieve value from cloud_cover with reading above the AVG(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002719 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: unit, lat, ts, lon
Sensor: pressure | fields: lon, lat, qc, level
Task: Retrieve depth from drought_index that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002720 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: reading, level, unit, lat
Sensor: lightning | fields: depth, lat, lon, value
Task: Fetch level from pressure where value is greater than the average of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002721 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: type, ts, lon, qc
Sensor: cloud_cover | fields: reading, unit, lon, level
Task: Retrieve reading from rainfall whose depth is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002722 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, ts, depth, type
Sensor: sunlight | fields: depth, ts, lat, type
Task: Get reading from dew_point where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002723 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, lon, type, lat
Sensor: lightning | fields: unit, depth, qc, type
Task: Fetch reading from soil_moisture where ts exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002724 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, type, unit, reading
Sensor: dew_point | fields: ts, level, type, value
Task: Get lon from evaporation where type appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002725 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, type, reading, lon
Sensor: dew_point | fields: qc, reading, level, unit
Task: Fetch reading from cloud_cover where value is greater than the minimum of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
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": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002726 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: type, lat, value, reading
Sensor: rainfall | fields: type, lon, qc, reading
Task: Retrieve value from uv_index that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002727 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lat, depth, reading, qc
Sensor: evaporation | fields: value, qc, ts, lon
Task: Retrieve level from uv_index whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002728 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, level, qc, ts
Sensor: evaporation | fields: lat, level, qc, value
Task: Get reading from snow_depth where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002729 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lon, value, depth, level
Sensor: humidity | fields: value, lat, lon, ts
Task: Retrieve reading from turbidity with reading above the AVG(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002730 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: type, lat, lon, ts
Sensor: sunlight | fields: lon, level, qc, lat
Task: Retrieve level from rainfall that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002731 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, qc, reading, type
Sensor: uv_index | fields: lat, lon, type, unit
Task: Fetch level from cloud_cover that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002732 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: depth, reading, lat, lon
Sensor: drought_index | fields: type, ts, lon, reading
Task: Retrieve level from uv_index whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002733 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, type, reading, value
Sensor: pressure | fields: ts, unit, lon, qc
Task: Fetch depth from lightning that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002734 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, type, unit, reading
Sensor: frost | fields: qc, level, reading, value
Task: Get lon from dew_point where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002735 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: value, lat, level, qc
Sensor: sunlight | fields: lat, reading, ts, depth
Task: Get depth from lightning where type appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002736 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: level, qc, type, lon
Sensor: pressure | fields: unit, reading, lat, depth
Task: Get depth from uv_index where depth exceeds the count of depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002737 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: depth, value, type, qc
Sensor: rainfall | fields: value, lon, reading, level
Task: Fetch level from visibility where depth exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002738 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: qc, value, lat, depth
Sensor: drought_index | fields: ts, depth, level, type
Task: Get lon from evaporation where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002739 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: unit, qc, value, depth
Sensor: rainfall | fields: lon, depth, value, lat
Task: Retrieve reading from frost that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002740 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, qc, lat, level
Sensor: drought_index | fields: type, qc, level, value
Task: Retrieve depth from snow_depth that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002741 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: value, depth, unit, lat
Sensor: lightning | fields: value, lat, unit, type
Task: Fetch lon from dew_point where depth is greater than the total of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002742 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: qc, lon, unit, ts
Sensor: turbidity | fields: type, ts, reading, lat
Task: Retrieve lat from rainfall whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002743 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: unit, lat, level, value
Sensor: soil_moisture | fields: reading, qc, value, unit
Task: Fetch lon from lightning where value is greater than the count of of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002744 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, type, lon, value
Sensor: turbidity | fields: type, unit, depth, level
Task: Fetch lat from snow_depth that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002745 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, lat, qc, unit
Sensor: soil_moisture | fields: qc, value, type, reading
Task: Get level from cloud_cover where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002746 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lon, level, qc, type
Sensor: evaporation | fields: unit, value, lat, level
Task: Get level from air_quality where depth exceeds the total value from evaporation for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002747 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: value, unit, lon, depth
Sensor: cloud_cover | fields: reading, type, lon, level
Task: Retrieve level from rainfall with value above the MAX(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002748 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: type, ts, reading, lon
Sensor: drought_index | fields: qc, ts, depth, type
Task: Retrieve lon from snow_depth that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002749 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: value, level, type, depth
Sensor: uv_index | fields: lon, type, reading, depth
Task: Retrieve lon from sunlight with reading above the MIN(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002750 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: reading, qc, unit, value
Sensor: cloud_cover | fields: ts, level, qc, reading
Task: Retrieve lat from evaporation whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002751 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: qc, lon, level, ts
Sensor: rainfall | fields: ts, lon, reading, value
Task: Get lat from evaporation where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002752 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: unit, value, type, level
Sensor: cloud_cover | fields: lon, unit, level, type
Task: Fetch level from lightning that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002753 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, value, level, lon
Sensor: frost | fields: depth, ts, level, type
Task: Get lat from cloud_cover where depth exceeds the total reading from frost for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002754 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, ts, value, type
Sensor: temperature | fields: lon, ts, value, reading
Task: Get lat from turbidity where value exceeds the average reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002755 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, type, ts, lon
Sensor: drought_index | fields: lon, ts, depth, qc
Task: Get lon from cloud_cover where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002756 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: reading, lon, level, value
Sensor: frost | fields: reading, unit, depth, value
Task: Get level from uv_index where reading exceeds the count of reading from frost for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002757 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lon, depth, lat, unit
Sensor: uv_index | fields: level, reading, lon, unit
Task: Retrieve level from sunlight whose type is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002758 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: type, level, value, depth
Sensor: soil_moisture | fields: unit, lon, value, level
Task: Retrieve lon from snow_depth that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002759 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, value, lon, ts
Sensor: air_quality | fields: qc, lat, lon, value
Task: Retrieve reading from cloud_cover with value above the SUM(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002760 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: type, reading, ts, lon
Sensor: dew_point | fields: level, value, lat, reading
Task: Fetch lat from snow_depth where depth is greater than the total of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002761 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, lon, unit, qc
Sensor: visibility | fields: reading, lat, type, level
Task: Get value from cloud_cover where depth exceeds the count of value from visibility for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002762 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, value, qc, level
Sensor: visibility | fields: lon, reading, ts, unit
Task: Fetch lon from pressure that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002763 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lat, type, reading, value
Sensor: uv_index | fields: qc, ts, lat, lon
Task: Fetch value from pressure that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002764 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, depth, reading, ts
Sensor: uv_index | fields: type, level, lat, unit
Task: Get lat from turbidity where depth exceeds the total value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002765 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, reading, unit, lon
Sensor: sunlight | fields: value, lon, qc, level
Task: Retrieve value from temperature whose unit is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002766 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: level, lat, ts, type
Sensor: sunlight | fields: reading, level, value, lon
Task: Retrieve reading from snow_depth whose qc is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002767 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, value, reading, lon
Sensor: frost | fields: lat, level, type, value
Task: Fetch reading from sunlight that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002768 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: ts, lat, depth, level
Sensor: uv_index | fields: value, type, reading, ts
Task: Get depth from temperature where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002769 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: ts, qc, lon, value
Sensor: uv_index | fields: level, value, qc, type
Task: Get value from humidity where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002770 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, level, type, value
Sensor: temperature | fields: ts, lon, reading, depth
Task: Get reading from wind_speed where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002771 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, lat, level, depth
Sensor: drought_index | fields: reading, ts, level, lat
Task: Retrieve lat from frost whose depth is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002772 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, level, type, lat
Sensor: visibility | fields: qc, unit, lon, value
Task: Get lon from snow_depth where depth appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002773 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: type, unit, lat, lon
Sensor: soil_moisture | fields: ts, lon, reading, depth
Task: Fetch reading from snow_depth that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002774 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: depth, value, level, type
Sensor: snow_depth | fields: lon, type, value, level
Task: Get level from dew_point where unit appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002775 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lat, reading, level, lon
Sensor: soil_moisture | fields: level, reading, type, ts
Task: Fetch depth from rainfall that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002776 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: unit, reading, level, qc
Sensor: visibility | fields: reading, type, level, ts
Task: Fetch value from uv_index that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002777 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lon, ts, unit, qc
Sensor: frost | fields: type, qc, value, ts
Task: Get level from lightning where unit appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002778 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: qc, unit, level, type
Sensor: visibility | fields: reading, ts, value, lat
Task: Retrieve depth from drought_index that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002779 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, reading, depth, ts
Sensor: uv_index | fields: lon, lat, type, reading
Task: Fetch level from cloud_cover where value is greater than the average of depth in uv_index for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002780 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: reading, lat, ts, value
Sensor: cloud_cover | fields: lon, lat, level, depth
Task: Fetch lat from evaporation where qc exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002781 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, depth, lon, value
Sensor: temperature | fields: lon, level, reading, lat
Task: Retrieve depth from cloud_cover whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002782 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, value, qc, reading
Sensor: lightning | fields: type, unit, level, depth
Task: Retrieve value from cloud_cover that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002783 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: type, lon, ts, reading
Sensor: rainfall | fields: lon, lat, depth, unit
Task: Fetch level from air_quality where qc exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002784 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: reading, value, qc, lat
Sensor: frost | fields: ts, reading, level, unit
Task: Retrieve value from pressure whose ts is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002785 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, lon, unit, ts
Sensor: dew_point | fields: value, unit, qc, lat
Task: Retrieve value from drought_index whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002786 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: type, qc, lon, level
Sensor: dew_point | fields: lat, level, qc, reading
Task: Get reading from snow_depth where type appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002787 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, lat, ts, reading
Sensor: lightning | fields: ts, unit, level, depth
Task: Get value from evaporation where value exceeds the minimum depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002788 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: type, reading, level, depth
Sensor: snow_depth | fields: ts, depth, lat, type
Task: Retrieve reading from pressure with reading above the COUNT(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002789 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: level, lat, lon, qc
Sensor: dew_point | fields: ts, lon, unit, level
Task: Fetch value from turbidity that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002790 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: value, depth, lon, qc
Sensor: air_quality | fields: unit, lon, lat, value
Task: Fetch level from dew_point where qc exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002791 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, type, level, reading
Sensor: frost | fields: unit, ts, value, type
Task: Get lon from pressure where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002792 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: type, reading, qc, lat
Sensor: evaporation | fields: unit, reading, level, lat
Task: Retrieve lon from turbidity whose qc is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002793 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: ts, qc, depth, lon
Sensor: wind_speed | fields: qc, level, lat, value
Task: Retrieve reading from temperature with depth above the AVG(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002794 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: unit, ts, type, depth
Sensor: drought_index | fields: level, depth, reading, unit
Task: Fetch lat from rainfall where qc exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002795 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, depth, ts, qc
Sensor: soil_moisture | fields: reading, value, depth, lon
Task: Get reading from cloud_cover where value exceeds the maximum value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"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_002796 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: value, lat, depth, reading
Sensor: turbidity | fields: lat, depth, reading, level
Task: Get reading from temperature where ts appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002797 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, type, unit, ts
Sensor: pressure | fields: qc, unit, depth, reading
Task: Retrieve lon from wind_speed whose qc is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002798 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: value, lat, depth, type
Sensor: visibility | fields: level, reading, unit, lon
Task: Fetch value from turbidity where qc exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.