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: soil_moisture | code: thr | fields: qc, type, lat, depth
Sensor: lightning | fields: type, ts, value, reading
Task: Fetch reading from soil_moisture where reading is greater than the maximum of reading in lightning for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038200 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lon, depth, level, reading
Sensor: visibility | fields: lon, ts, type, qc
Task: Fetch lon from sunlight that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038201 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, qc, lon, unit
Sensor: temperature | fields: depth, level, ts, lat
Task: Get lat from cloud_cover where ts appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038202 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: unit, type, qc, value
Sensor: lightning | fields: lon, value, ts, type
Task: Get level from temperature where depth appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038203 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, value, depth, lon
Sensor: humidity | fields: type, lat, qc, level
Task: Fetch level from wind_speed where reading is greater than the average of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038204 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: value, qc, level, unit
Sensor: drought_index | fields: level, reading, ts, unit
Task: Get depth from humidity where value exceeds the average depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038205 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: unit, value, type, qc
Sensor: air_quality | fields: depth, lon, reading, qc
Task: Get reading from evaporation where depth exceeds the maximum reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038206 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, type, depth, lat
Sensor: wind_speed | fields: ts, type, lat, qc
Task: Fetch depth from temperature where value is greater than the minimum of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038207 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: ts, reading, value, qc
Sensor: lightning | fields: unit, lon, depth, level
Task: Get depth from temperature where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038208 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, unit, qc, depth
Sensor: snow_depth | fields: lon, value, unit, type
Task: Fetch lat from soil_moisture that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038209 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, unit, type, ts
Sensor: uv_index | fields: value, lat, ts, reading
Task: Get lat from air_quality where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038210 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: depth, lat, unit, value
Sensor: wind_speed | fields: lon, ts, reading, type
Task: Fetch value from frost that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038211 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: level, lat, type, ts
Sensor: wind_speed | fields: type, lon, qc, value
Task: Fetch lon from visibility that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038212 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lat, type, unit, value
Sensor: temperature | fields: depth, type, qc, level
Task: Fetch lon from dew_point where unit exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038213 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, lat, value, depth
Sensor: drought_index | fields: qc, depth, value, lon
Task: Retrieve level from soil_moisture with value above the MIN(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038214 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, depth, level, unit
Sensor: rainfall | fields: level, reading, lon, unit
Task: Retrieve level from frost with value above the MAX(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038215 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lon, ts, qc, value
Sensor: wind_speed | fields: ts, type, value, level
Task: Retrieve lon from dew_point whose unit is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038216 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, reading, value, lat
Sensor: soil_moisture | fields: unit, depth, ts, lat
Task: Fetch level from rainfall where type exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038217 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, qc, lat, lon
Sensor: evaporation | fields: lat, unit, type, lon
Task: Get level from air_quality where reading exceeds the count of depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038218 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, reading, qc, lon
Sensor: wind_speed | fields: qc, unit, depth, ts
Task: Fetch level from visibility where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038219 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: value, lon, ts, qc
Sensor: humidity | fields: ts, type, lat, reading
Task: Retrieve level from sunlight with depth above the MAX(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038220 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: qc, type, ts, lon
Sensor: frost | fields: lat, lon, reading, depth
Task: Fetch value from pressure where qc exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038221 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, qc, reading, unit
Sensor: rainfall | fields: ts, depth, value, reading
Task: Get lon from sunlight where depth exceeds the total depth from rainfall for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038222 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: reading, unit, type, level
Sensor: lightning | fields: unit, type, lon, reading
Task: Fetch level from frost where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038223 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: level, unit, lat, reading
Sensor: evaporation | fields: level, reading, value, ts
Task: Get value from air_quality where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038224 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, level, type, ts
Sensor: soil_moisture | fields: qc, ts, value, lon
Task: Retrieve lat from rainfall with reading above the COUNT(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038225 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: unit, ts, level, lon
Sensor: cloud_cover | fields: qc, unit, reading, level
Task: Retrieve level from rainfall whose type is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038226 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, level, depth, reading
Sensor: temperature | fields: lon, value, lat, reading
Task: Fetch lon from pressure where value is greater than the average of value in temperature for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038227 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, qc, value, reading
Sensor: air_quality | fields: lat, unit, depth, type
Task: Get reading from cloud_cover where type appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038228 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lat, level, unit, qc
Sensor: wind_speed | fields: ts, value, depth, level
Task: Fetch reading from turbidity that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038229 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, value, unit, type
Sensor: snow_depth | fields: qc, lon, value, depth
Task: Retrieve value from visibility that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038230 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: reading, lon, type, depth
Sensor: frost | fields: lat, ts, type, unit
Task: Fetch depth from evaporation that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038231 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: reading, ts, lon, unit
Sensor: visibility | fields: qc, ts, lon, value
Task: Get lat from evaporation where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038232 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, depth, lon, ts
Sensor: pressure | fields: level, type, lon, qc
Task: Fetch value from dew_point where qc exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038233 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lat, level, reading, value
Sensor: evaporation | fields: level, unit, value, lon
Task: Fetch value from air_quality that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038234 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lon, value, unit, type
Sensor: temperature | fields: reading, ts, level, value
Task: Retrieve lon from evaporation that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038235 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, lat, value, level
Sensor: lightning | fields: unit, ts, lon, type
Task: Get value from wind_speed where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038236 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: depth, qc, unit, lat
Sensor: lightning | fields: lon, value, type, unit
Task: Retrieve reading from visibility with depth above the AVG(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038237 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lon, type, value, ts
Sensor: uv_index | fields: value, type, lon, unit
Task: Retrieve reading from rainfall whose depth is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038238 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: level, ts, lat, qc
Sensor: humidity | fields: depth, type, unit, reading
Task: Get reading from wind_speed where reading exceeds the total reading from humidity for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038239 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, level, type, value
Sensor: turbidity | fields: value, unit, qc, lat
Task: Retrieve level from frost with reading above the MIN(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038240 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: qc, reading, depth, ts
Sensor: humidity | fields: unit, lat, depth, qc
Task: Get value from visibility where value exceeds the minimum value from humidity for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038241 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: value, depth, lon, reading
Sensor: snow_depth | fields: depth, lat, lon, value
Task: Get lon from evaporation where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038242 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: ts, lon, qc, value
Sensor: pressure | fields: depth, qc, value, lat
Task: Get lat from air_quality where reading exceeds the count of value from pressure for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038243 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, lon, type, depth
Sensor: drought_index | fields: value, unit, lat, reading
Task: Retrieve reading from air_quality with value above the SUM(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038244 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, value, lon, level
Sensor: cloud_cover | fields: level, qc, lat, lon
Task: Fetch depth from snow_depth where type exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038245 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: type, lon, unit, lat
Sensor: frost | fields: value, reading, qc, lat
Task: Get lat from rainfall where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038246 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lat, value, lon, reading
Sensor: air_quality | fields: type, depth, lat, reading
Task: Fetch level from visibility that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038247 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: ts, type, level, lon
Sensor: frost | fields: unit, reading, value, lon
Task: Get lat from turbidity where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038248 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: level, ts, depth, reading
Sensor: lightning | fields: reading, unit, lat, value
Task: Fetch reading from air_quality where qc exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038249 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: level, type, lat, qc
Sensor: soil_moisture | fields: lon, qc, value, unit
Task: Get level from lightning where value exceeds the total depth from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038250 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lat, lon, reading, depth
Sensor: evaporation | fields: unit, value, qc, ts
Task: Retrieve depth from rainfall with depth above the MIN(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038251 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: reading, type, lon, level
Sensor: dew_point | fields: lat, qc, depth, reading
Task: Fetch reading from sunlight where reading is greater than the maximum of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038252 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: reading, unit, lat, ts
Sensor: snow_depth | fields: level, value, lon, depth
Task: Retrieve depth from air_quality whose type is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038253 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: type, depth, qc, level
Sensor: visibility | fields: ts, level, unit, value
Task: Fetch depth from drought_index that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038254 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: qc, lon, type, level
Sensor: wind_speed | fields: qc, lon, value, lat
Task: Get level from drought_index where value exceeds the maximum reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038255 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: depth, lat, unit, reading
Sensor: wind_speed | fields: depth, unit, lon, reading
Task: Retrieve lat from pressure whose qc is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038256 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, depth, ts, lat
Sensor: snow_depth | fields: ts, depth, value, reading
Task: Fetch level from soil_moisture where qc exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038257 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: depth, type, reading, unit
Sensor: cloud_cover | fields: value, depth, qc, lon
Task: Get lat from temperature where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038258 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: lon, depth, lat, ts
Sensor: wind_speed | fields: qc, level, lat, unit
Task: Retrieve value from uv_index whose type is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038259 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: reading, lon, ts, lat
Sensor: uv_index | fields: ts, unit, lat, type
Task: Fetch reading from pressure that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038260 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, level, lat, unit
Sensor: rainfall | fields: ts, qc, unit, lon
Task: Retrieve reading from soil_moisture that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038261 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: reading, depth, ts, lat
Sensor: visibility | fields: type, depth, qc, ts
Task: Fetch reading from lightning that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038262 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, reading, qc, depth
Sensor: dew_point | fields: qc, lon, depth, reading
Task: Fetch lat from snow_depth that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038263 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: unit, value, type, qc
Sensor: dew_point | fields: ts, depth, lat, value
Task: Get lat from humidity where ts appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038264 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, value, depth, type
Sensor: pressure | fields: value, depth, level, type
Task: Get lat from air_quality where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038265 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: unit, reading, level, ts
Sensor: frost | fields: value, lat, reading, ts
Task: Retrieve level from visibility that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038266 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: qc, type, reading, unit
Sensor: dew_point | fields: lon, lat, ts, unit
Task: Get lon from turbidity where type appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038267 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, lon, value, lat
Sensor: visibility | fields: depth, qc, level, type
Task: Fetch depth from snow_depth where qc exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038268 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lat, value, level, depth
Sensor: cloud_cover | fields: qc, lat, reading, value
Task: Get reading from rainfall where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038269 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: reading, level, unit, lon
Sensor: lightning | fields: reading, qc, lat, level
Task: Retrieve lat from turbidity whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038270 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: reading, lon, qc, ts
Sensor: soil_moisture | fields: lon, qc, lat, unit
Task: Retrieve depth from uv_index with depth above the COUNT(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038271 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lat, level, reading, type
Sensor: visibility | fields: lon, qc, type, unit
Task: Retrieve lat from temperature with depth above the AVG(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038272 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, lat, ts, level
Sensor: pressure | fields: lon, reading, level, unit
Task: Get lat from uv_index where qc appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038273 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: lat, type, value, level
Sensor: cloud_cover | fields: unit, value, depth, lat
Task: Fetch value from sunlight where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038274 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: value, qc, level, reading
Sensor: wind_speed | fields: qc, depth, lon, type
Task: Retrieve level from lightning whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038275 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, qc, unit, type
Sensor: humidity | fields: lon, type, level, lat
Task: Get lat from cloud_cover where depth appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038276 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: unit, ts, type, depth
Sensor: drought_index | fields: lon, unit, ts, depth
Task: Fetch lat from lightning that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038277 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lat, ts, lon, unit
Sensor: dew_point | fields: lon, reading, ts, depth
Task: Fetch depth from drought_index that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038278 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, unit, value, lon
Sensor: cloud_cover | fields: qc, type, ts, depth
Task: Retrieve reading from snow_depth with reading above the COUNT(value) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038279 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: value, level, unit, lat
Sensor: turbidity | fields: value, reading, qc, lat
Task: Get level from wind_speed where depth appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038280 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: level, type, ts, reading
Sensor: frost | fields: lat, value, qc, depth
Task: Fetch lon from lightning that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038281 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, lon, lat, reading
Sensor: temperature | fields: lon, ts, depth, value
Task: Retrieve lat from visibility whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038282 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, qc, value, type
Sensor: visibility | fields: lon, lat, ts, unit
Task: Get depth from temperature where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038283 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, reading, ts, lat
Sensor: lightning | fields: qc, depth, type, lat
Task: Get value from wind_speed where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038284 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lon, type, lat, level
Sensor: wind_speed | fields: lat, reading, ts, type
Task: Retrieve value from uv_index that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038285 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: reading, depth, qc, ts
Sensor: cloud_cover | fields: value, unit, ts, lon
Task: Retrieve depth from uv_index whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038286 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: type, reading, depth, unit
Sensor: turbidity | fields: depth, ts, value, reading
Task: Fetch level from pressure where depth is greater than the total of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038287 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: value, lon, reading, qc
Sensor: uv_index | fields: value, type, level, depth
Task: Fetch lat from sunlight that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038288 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: type, lon, value, qc
Sensor: sunlight | fields: reading, lat, depth, type
Task: Retrieve depth from uv_index that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038289 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: level, value, lat, depth
Sensor: visibility | fields: lon, level, unit, lat
Task: Fetch lon from air_quality where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038290 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lat, qc, value, unit
Sensor: evaporation | fields: reading, depth, value, unit
Task: Fetch depth from humidity where reading is greater than the total of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038291 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, depth, lat, unit
Sensor: air_quality | fields: reading, unit, depth, qc
Task: Fetch reading from wind_speed where depth is greater than the average of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038292 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lon, unit, ts, value
Sensor: uv_index | fields: lon, level, type, depth
Task: Retrieve level from visibility whose qc is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038293 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, reading, unit, qc
Sensor: evaporation | fields: unit, value, lon, level
Task: Get lon from pressure where value exceeds the maximum value from evaporation for the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038294 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, unit, lon, reading
Sensor: air_quality | fields: value, reading, lon, ts
Task: Get lat from wind_speed where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038295 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: unit, reading, lon, value
Sensor: soil_moisture | fields: lat, unit, ts, reading
Task: Get lat from temperature where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038296 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: depth, reading, lat, level
Sensor: sunlight | fields: level, depth, lon, unit
Task: Get depth from uv_index where type appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038297 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, value, qc, ts
Sensor: air_quality | fields: qc, reading, unit, level
Task: Retrieve reading from evaporation that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038298 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, level, lon, value
Sensor: uv_index | fields: type, depth, lat, lon
Task: Retrieve reading from cloud_cover with value above the MIN(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.