variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: frost | code: ref | fields: lon, value, lat, depth
Sensor: uv_index | fields: qc, lat, value, ts
Task: Fetch depth from frost where ts exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004500 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: type, lat, value, depth
Sensor: wind_speed | fields: reading, lat, depth, level
Task: Get depth from rainfall where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004501 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, qc, unit, lon
Sensor: rainfall | fields: qc, ts, reading, lat
Task: Retrieve lon from uv_index with depth above the MAX(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004502 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: level, unit, value, lat
Sensor: soil_moisture | fields: level, value, depth, ts
Task: Get reading from visibility where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004503 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: reading, unit, depth, value
Sensor: humidity | fields: lat, reading, type, unit
Task: Get lat from turbidity where type appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004504 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, value, level, type
Sensor: cloud_cover | fields: qc, lon, depth, level
Task: Get level from soil_moisture where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004505 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lon, reading, value, depth
Sensor: uv_index | fields: type, ts, reading, lat
Task: Retrieve depth from temperature whose depth is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004506 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lon, ts, depth, reading
Sensor: sunlight | fields: ts, value, qc, lon
Task: Retrieve depth from visibility that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004507 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: type, value, lat, qc
Sensor: drought_index | fields: value, level, unit, reading
Task: Retrieve value from evaporation with depth above the AVG(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004508 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lon, ts, lat, unit
Sensor: lightning | fields: type, lon, ts, lat
Task: Fetch lat from drought_index that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004509 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: qc, ts, depth, level
Sensor: sunlight | fields: ts, reading, value, lon
Task: Retrieve lat from rainfall whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004510 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, reading, depth, value
Sensor: evaporation | fields: type, ts, qc, lon
Task: Get depth from uv_index where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004511 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: qc, depth, lon, reading
Sensor: rainfall | fields: unit, type, ts, depth
Task: Get reading from sunlight where reading exceeds the minimum reading from rainfall for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004512 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, qc, lon, level
Sensor: air_quality | fields: value, level, qc, ts
Task: Fetch value from sunlight where depth is greater than the average of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004513 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, reading, qc, depth
Sensor: frost | fields: qc, unit, level, value
Task: Retrieve value from cloud_cover with depth above the MAX(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004514 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, value, ts, type
Sensor: evaporation | fields: reading, value, type, lat
Task: Fetch lat from soil_moisture where depth is greater than the maximum of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004515 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: ts, lon, level, reading
Sensor: frost | fields: ts, level, type, lat
Task: Get value from evaporation where type appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004516 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, level, lat, reading
Sensor: sunlight | fields: reading, depth, type, lat
Task: Retrieve depth from lightning with depth above the MAX(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004517 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, lon, value, lat
Sensor: drought_index | fields: type, value, lat, depth
Task: Get lon from cloud_cover where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004518 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: value, qc, level, lat
Sensor: soil_moisture | fields: reading, depth, level, unit
Task: Retrieve lat from air_quality that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004519 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, lat, qc, ts
Sensor: lightning | fields: unit, level, lat, depth
Task: Fetch value from evaporation where reading is greater than the count of of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004520 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: qc, ts, lat, lon
Sensor: humidity | fields: ts, reading, level, type
Task: Retrieve lon from lightning whose ts is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004521 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: type, value, depth, lon
Sensor: lightning | fields: type, ts, unit, value
Task: Retrieve lon from drought_index that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004522 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: value, reading, depth, ts
Sensor: snow_depth | fields: ts, reading, type, lon
Task: Retrieve depth from drought_index with depth above the MIN(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004523 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, lat, lon, value
Sensor: uv_index | fields: reading, qc, unit, lon
Task: Fetch lat from air_quality that have at least one corresponding uv_index measurement for 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_004524 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: value, depth, type, level
Sensor: rainfall | fields: depth, unit, value, level
Task: Fetch value from evaporation where value is greater than the total of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004525 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, reading, type, depth
Sensor: snow_depth | fields: unit, ts, lat, type
Task: Get level from wind_speed where type appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004526 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: ts, level, reading, type
Sensor: evaporation | fields: qc, level, unit, lon
Task: Get reading from uv_index where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004527 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: type, depth, lat, qc
Sensor: snow_depth | fields: lon, level, value, ts
Task: Retrieve level from drought_index whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004528 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, value, depth, qc
Sensor: humidity | fields: reading, lon, unit, lat
Task: Retrieve value from soil_moisture with value above the COUNT(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004529 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, value, depth, lon
Sensor: cloud_cover | fields: reading, lon, level, value
Task: Retrieve lon from snow_depth with reading above the MIN(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004530 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, qc, lon, type
Sensor: frost | fields: ts, unit, qc, lon
Task: Fetch value from sunlight where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004531 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: depth, level, ts, lat
Sensor: sunlight | fields: type, ts, reading, unit
Task: Fetch lat from dew_point where value is greater than the total of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004532 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, unit, type, reading
Sensor: lightning | fields: lon, value, type, reading
Task: Fetch reading from cloud_cover where depth is greater than the total of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004533 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: ts, reading, lat, lon
Sensor: pressure | fields: reading, ts, lat, level
Task: Retrieve value from air_quality with reading above the SUM(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004534 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: depth, type, reading, qc
Sensor: temperature | fields: type, depth, qc, level
Task: Fetch lon from frost where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004535 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, unit, level, qc
Sensor: air_quality | fields: value, type, reading, lat
Task: Fetch value from pressure where ts exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004536 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: type, lon, reading, qc
Sensor: evaporation | fields: depth, lat, type, value
Task: Retrieve value from dew_point whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004537 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: ts, value, lat, lon
Sensor: cloud_cover | fields: unit, qc, reading, type
Task: Retrieve lon from sunlight whose ts is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004538 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: unit, lon, value, reading
Sensor: wind_speed | fields: ts, depth, qc, level
Task: Retrieve value from evaporation that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004539 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: value, lon, level, lat
Sensor: sunlight | fields: lat, depth, unit, lon
Task: Get lon from humidity where unit appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004540 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: reading, ts, lat, value
Sensor: frost | fields: lon, depth, unit, qc
Task: Get level from air_quality where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004541 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lat, unit, type, level
Sensor: air_quality | fields: ts, qc, depth, type
Task: Fetch lat from pressure where ts exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004542 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: depth, level, type, value
Sensor: air_quality | fields: value, lon, depth, unit
Task: Fetch level from humidity where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004543 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, type, reading, level
Sensor: pressure | fields: reading, unit, qc, type
Task: Fetch level from snow_depth where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004544 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: ts, type, unit, level
Sensor: turbidity | fields: depth, unit, ts, qc
Task: Retrieve depth from frost that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004545 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, lat, value, level
Sensor: turbidity | fields: depth, unit, lat, lon
Task: Fetch lat from wind_speed where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004546 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, value, lat, ts
Sensor: sunlight | fields: reading, qc, type, unit
Task: Retrieve level from wind_speed whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004547 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, value, reading, ts
Sensor: uv_index | fields: lat, qc, depth, reading
Task: Retrieve reading from snow_depth with value above the COUNT(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004548 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: unit, level, qc, reading
Sensor: cloud_cover | fields: ts, unit, level, qc
Task: Fetch depth from air_quality where type exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004549 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: ts, depth, qc, lon
Sensor: snow_depth | fields: lat, value, type, unit
Task: Get depth from frost where ts appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004550 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: value, qc, depth, type
Sensor: uv_index | fields: unit, level, lat, reading
Task: Retrieve value from turbidity with depth above the SUM(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004551 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, level, qc, type
Sensor: pressure | fields: lon, value, reading, lat
Task: Retrieve level from wind_speed that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004552 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: level, value, lat, unit
Sensor: turbidity | fields: type, lat, unit, value
Task: Retrieve depth from drought_index whose type is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004553 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, value, ts, depth
Sensor: uv_index | fields: level, lat, unit, reading
Task: Retrieve level from cloud_cover that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004554 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lon, lat, unit, qc
Sensor: rainfall | fields: value, type, ts, depth
Task: Fetch reading from lightning where depth is greater than the total of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004555 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: depth, value, lon, lat
Sensor: cloud_cover | fields: qc, value, ts, type
Task: Fetch depth from temperature that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004556 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: ts, type, lon, qc
Sensor: drought_index | fields: type, value, reading, depth
Task: Get lon from pressure where reading exceeds the average value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004557 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, lon, ts, value
Sensor: lightning | fields: lon, value, reading, level
Task: Fetch depth from cloud_cover where ts exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004558 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: level, ts, lat, qc
Sensor: turbidity | fields: depth, value, qc, unit
Task: Fetch level from sunlight where type exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004559 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, ts, qc, unit
Sensor: air_quality | fields: lon, ts, type, unit
Task: Get value from cloud_cover where type appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004560 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: depth, lat, unit, qc
Sensor: sunlight | fields: lat, level, ts, lon
Task: Fetch level from dew_point where qc exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004561 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: reading, depth, type, qc
Sensor: snow_depth | fields: depth, lon, unit, level
Task: Get lat from frost where unit appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004562 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, lat, unit, reading
Sensor: snow_depth | fields: type, reading, level, lon
Task: Retrieve lon from cloud_cover with reading above the MAX(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004563 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: level, reading, ts, value
Sensor: soil_moisture | fields: unit, type, value, level
Task: Retrieve depth from turbidity whose type is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004564 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: qc, type, unit, level
Sensor: sunlight | fields: ts, lat, reading, unit
Task: Get reading from dew_point where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004565 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: depth, qc, level, lon
Sensor: temperature | fields: unit, reading, lon, depth
Task: Get reading from lightning where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004566 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lat, lon, unit, qc
Sensor: rainfall | fields: qc, ts, reading, lon
Task: Get lon from evaporation where unit appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004567 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: level, value, qc, reading
Sensor: pressure | fields: unit, ts, reading, type
Task: Fetch lat from snow_depth that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004568 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, lat, lon, ts
Sensor: snow_depth | fields: value, lon, ts, depth
Task: Fetch lon from sunlight where value is greater than the minimum of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004569 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, value, reading, type
Sensor: turbidity | fields: level, reading, ts, lon
Task: Retrieve lon from snow_depth whose depth is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004570 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, lat, unit, value
Sensor: temperature | fields: type, value, qc, depth
Task: Fetch value from drought_index that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004571 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, lon, level, ts
Sensor: turbidity | fields: type, lat, unit, qc
Task: Fetch depth from uv_index where reading is greater than the total of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004572 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: type, qc, unit, level
Sensor: drought_index | fields: lon, reading, value, level
Task: Retrieve level from air_quality with reading above the COUNT(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004573 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: value, type, qc, unit
Sensor: wind_speed | fields: unit, ts, qc, lat
Task: Fetch lat from humidity where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004574 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: level, unit, ts, lat
Sensor: lightning | fields: value, level, type, lat
Task: Get reading from frost where reading exceeds the minimum reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004575 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, level, qc, reading
Sensor: wind_speed | fields: type, lon, qc, unit
Task: Get lon from cloud_cover where unit appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004576 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: type, qc, lon, lat
Sensor: pressure | fields: reading, lon, ts, type
Task: Fetch value from air_quality where reading is greater than the total of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004577 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: value, level, reading, lat
Sensor: lightning | fields: value, lon, reading, ts
Task: Retrieve depth from turbidity with depth above the MIN(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004578 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lat, unit, depth, qc
Sensor: temperature | fields: lon, lat, depth, type
Task: Retrieve level from pressure that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004579 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: level, reading, ts, type
Sensor: air_quality | fields: level, qc, reading, unit
Task: Fetch reading from frost where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004580 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, type, value, depth
Sensor: soil_moisture | fields: value, type, level, ts
Task: Retrieve depth from cloud_cover with depth above the MIN(depth) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004581 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, reading, level, lon
Sensor: sunlight | fields: value, type, level, lon
Task: Fetch reading from cloud_cover where value is greater than the total of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004582 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: lat, lon, value, qc
Sensor: humidity | fields: value, type, lat, lon
Task: Fetch level from air_quality where value is greater than the count of of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004583 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, lat, depth, ts
Sensor: wind_speed | fields: qc, depth, reading, lon
Task: Retrieve value from sunlight with value above the MIN(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004584 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, lon, lat, unit
Sensor: air_quality | fields: lon, qc, type, unit
Task: Get lon from cloud_cover where reading exceeds the count of depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004585 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: value, unit, type, qc
Sensor: uv_index | fields: reading, value, qc, unit
Task: Retrieve value from visibility whose ts is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004586 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: ts, qc, lat, depth
Sensor: soil_moisture | fields: reading, lat, depth, value
Task: Get depth from drought_index where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004587 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: unit, lon, lat, level
Sensor: uv_index | fields: ts, reading, level, depth
Task: Retrieve lat from sunlight whose unit is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004588 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: ts, qc, depth, unit
Sensor: evaporation | fields: level, unit, type, lon
Task: Retrieve value from air_quality with value above the SUM(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004589 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: reading, depth, ts, value
Sensor: temperature | fields: value, qc, depth, reading
Task: Retrieve level from lightning with value above the MAX(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004590 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, reading, lat, qc
Sensor: sunlight | fields: reading, qc, depth, value
Task: Fetch reading from cloud_cover where reading is greater than the total of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004591 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: value, lon, type, ts
Sensor: pressure | fields: level, type, reading, unit
Task: Fetch value from wind_speed where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004592 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: ts, lon, lat, qc
Sensor: air_quality | fields: lon, value, depth, type
Task: Fetch reading from evaporation where depth is greater than the total of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004593 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: level, qc, ts, type
Sensor: evaporation | fields: value, depth, qc, unit
Task: Fetch level from turbidity where reading is greater than the average of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004594 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: reading, ts, lon, qc
Sensor: wind_speed | fields: unit, value, level, lon
Task: Fetch lat from evaporation that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004595 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, ts, type, level
Sensor: cloud_cover | fields: type, ts, reading, level
Task: Get lon from wind_speed where depth exceeds the minimum value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004596 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: qc, value, lon, lat
Sensor: pressure | fields: qc, value, lat, type
Task: Retrieve depth from sunlight that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004597 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: reading, qc, level, depth
Sensor: evaporation | fields: ts, value, unit, level
Task: Retrieve value from frost that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004598 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: reading, lon, unit, value
Sensor: sunlight | fields: depth, type, reading, lat
Task: Retrieve level from visibility that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.