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: wind_speed | code: clr | fields: depth, level, unit, ts
Sensor: snow_depth | fields: level, lat, type, reading
Task: Retrieve level from wind_speed whose depth is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057500 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: level, ts, lat, type
Sensor: rainfall | fields: qc, type, value, unit
Task: Retrieve reading from uv_index whose qc is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057501 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, depth, value, unit
Sensor: dew_point | fields: ts, lat, qc, lon
Task: Fetch level from cloud_cover that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057502 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: ts, reading, lon, unit
Sensor: rainfall | fields: level, type, depth, lon
Task: Retrieve reading from sunlight whose ts is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057503 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: unit, reading, level, ts
Sensor: turbidity | fields: unit, lon, reading, type
Task: Retrieve lon from uv_index with value above the SUM(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057504 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, ts, depth, lat
Sensor: frost | fields: qc, lat, level, reading
Task: Get level from soil_moisture where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057505 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lat, level, reading, value
Sensor: cloud_cover | fields: lon, level, lat, reading
Task: Get lon from sunlight where ts appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057506 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: reading, type, value, ts
Sensor: air_quality | fields: lon, type, qc, unit
Task: Get value from dew_point where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057507 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, reading, level, value
Sensor: sunlight | fields: depth, lat, unit, qc
Task: Get value from turbidity where depth exceeds the count of depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057508 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: level, qc, reading, lat
Sensor: humidity | fields: qc, lat, ts, depth
Task: Get reading from temperature where reading exceeds the average value from humidity for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057509 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lat, ts, depth, value
Sensor: uv_index | fields: unit, reading, lat, qc
Task: Retrieve lat from humidity with reading above the AVG(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057510 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: unit, ts, qc, lon
Sensor: air_quality | fields: ts, level, value, unit
Task: Get level from pressure where depth appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057511 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: ts, qc, level, lat
Sensor: sunlight | fields: lat, level, depth, reading
Task: Fetch depth from rainfall that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057512 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, lon, reading, type
Sensor: air_quality | fields: reading, ts, level, type
Task: Get reading from wind_speed where unit appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057513 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: type, lon, depth, ts
Sensor: humidity | fields: depth, unit, reading, level
Task: Retrieve level from lightning that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057514 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: qc, depth, level, lon
Sensor: air_quality | fields: value, level, qc, depth
Task: Retrieve reading from drought_index whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057515 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lon, qc, unit, value
Sensor: drought_index | fields: reading, unit, qc, ts
Task: Fetch depth from air_quality where reading is greater than the average of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057516 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: value, ts, lat, reading
Sensor: drought_index | fields: qc, unit, lat, lon
Task: Retrieve reading from rainfall that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057517 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: ts, lon, depth, type
Sensor: drought_index | fields: qc, lat, ts, type
Task: Get lat from sunlight where value exceeds the average value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057518 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: type, qc, unit, ts
Sensor: frost | fields: unit, qc, reading, type
Task: Fetch reading from lightning where value is greater than the minimum of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057519 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lat, depth, unit, lon
Sensor: uv_index | fields: depth, value, type, unit
Task: Retrieve value from turbidity with value above the SUM(depth) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057520 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lat, value, qc, level
Sensor: sunlight | fields: value, lon, reading, type
Task: Retrieve depth from uv_index whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057521 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: type, depth, unit, lon
Sensor: temperature | fields: lat, depth, ts, unit
Task: Retrieve reading from dew_point that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057522 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, unit, depth, reading
Sensor: sunlight | fields: depth, value, level, type
Task: Retrieve depth from drought_index that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057523 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, type, value, reading
Sensor: turbidity | fields: reading, ts, value, unit
Task: Retrieve lon from drought_index that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057524 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: level, unit, value, type
Sensor: turbidity | fields: value, lat, depth, qc
Task: Retrieve value from lightning whose unit is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057525 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, value, type, ts
Sensor: temperature | fields: unit, lon, level, value
Task: Fetch lat from dew_point that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057526 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, qc, depth, ts
Sensor: air_quality | fields: qc, lat, reading, ts
Task: Retrieve reading from visibility with reading above the SUM(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057527 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: unit, reading, qc, type
Sensor: temperature | fields: depth, qc, reading, lat
Task: Fetch reading from turbidity where value is greater than the minimum of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057528 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, unit, depth, reading
Sensor: soil_moisture | fields: unit, lat, reading, qc
Task: Fetch lat from frost where type exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057529 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, lon, qc, type
Sensor: lightning | fields: value, lat, type, level
Task: Retrieve value from soil_moisture that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057530 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: level, lon, reading, type
Sensor: snow_depth | fields: type, depth, unit, value
Task: Get lon from frost where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057531 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, depth, level, lon
Sensor: pressure | fields: qc, depth, reading, type
Task: Retrieve lat from sunlight with value above the AVG(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057532 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, value, reading, lat
Sensor: humidity | fields: qc, reading, lon, type
Task: Retrieve reading from cloud_cover with depth above the SUM(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057533 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, qc, lat, lon
Sensor: air_quality | fields: level, unit, lat, reading
Task: Fetch lat from snow_depth where depth exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057534 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: unit, ts, reading, level
Sensor: pressure | fields: depth, qc, lat, ts
Task: Retrieve value from humidity that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057535 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: depth, level, lon, ts
Sensor: temperature | fields: ts, reading, type, depth
Task: Get depth from frost where depth exceeds the maximum reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057536 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: value, qc, lon, type
Sensor: soil_moisture | fields: qc, type, depth, ts
Task: Get lon from uv_index where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057537 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, lat, ts, lon
Sensor: wind_speed | fields: lat, depth, unit, level
Task: Retrieve value from frost that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057538 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, level, reading, lat
Sensor: temperature | fields: unit, lat, reading, value
Task: Fetch lat from cloud_cover that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057539 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, ts, value, type
Sensor: evaporation | fields: unit, lat, qc, value
Task: Get lon from frost where reading exceeds the minimum depth from evaporation for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"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_057540 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lon, depth, type, lat
Sensor: soil_moisture | fields: qc, ts, unit, reading
Task: Retrieve value from uv_index whose unit is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057541 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lat, qc, type, lon
Sensor: air_quality | fields: lon, value, depth, qc
Task: Fetch depth from pressure where depth is greater than the maximum of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057542 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, ts, depth, value
Sensor: temperature | fields: reading, lon, type, qc
Task: Fetch reading from cloud_cover where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057543 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, depth, unit, type
Sensor: rainfall | fields: value, type, depth, lon
Task: Retrieve reading from frost that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057544 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: unit, lat, lon, level
Sensor: turbidity | fields: reading, qc, ts, type
Task: Fetch value from temperature where reading is greater than the total of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057545 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: type, unit, depth, reading
Sensor: sunlight | fields: qc, value, reading, level
Task: Retrieve level from drought_index whose type is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057546 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: qc, type, level, ts
Sensor: cloud_cover | fields: ts, reading, value, unit
Task: Fetch reading from evaporation where unit exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057547 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, level, lat, lon
Sensor: dew_point | fields: level, value, lat, ts
Task: Retrieve value from visibility with depth above the MAX(reading) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057548 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, lat, ts, reading
Sensor: frost | fields: depth, ts, unit, lon
Task: Fetch lat from turbidity where reading is greater than the minimum of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057549 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, lat, lon, depth
Sensor: cloud_cover | fields: value, type, qc, lon
Task: Get lat from soil_moisture where unit appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057550 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: ts, level, lon, value
Sensor: evaporation | fields: ts, value, qc, type
Task: Fetch lat from uv_index where qc exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057551 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lon, type, depth, lat
Sensor: pressure | fields: depth, ts, lat, reading
Task: Fetch reading from temperature where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057552 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, value, lat, level
Sensor: evaporation | fields: level, qc, lat, unit
Task: Get depth from dew_point where depth exceeds the average reading from evaporation for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057553 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, qc, lat, reading
Sensor: lightning | fields: depth, ts, reading, unit
Task: Fetch lat from turbidity where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057554 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, ts, value, lat
Sensor: dew_point | fields: reading, lat, unit, qc
Task: Fetch depth from soil_moisture where reading is greater than the count of of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057555 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, value, lat, ts
Sensor: snow_depth | fields: reading, value, depth, lon
Task: Retrieve value from cloud_cover that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057556 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: unit, level, reading, depth
Sensor: turbidity | fields: depth, unit, type, reading
Task: Get reading from drought_index where reading exceeds the minimum depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057557 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: qc, reading, lat, value
Sensor: lightning | fields: type, lat, depth, level
Task: Fetch depth from evaporation that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057558 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, lat, depth, lon
Sensor: temperature | fields: depth, level, ts, value
Task: Get depth from snow_depth where value exceeds the count of reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057559 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: level, qc, type, unit
Sensor: evaporation | fields: depth, type, qc, lon
Task: Get value from drought_index where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057560 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: unit, value, ts, depth
Sensor: evaporation | fields: depth, reading, qc, unit
Task: Fetch reading from drought_index that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057561 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, unit, value, lon
Sensor: turbidity | fields: level, unit, qc, lon
Task: Retrieve lat from soil_moisture that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057562 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, lon, reading, lat
Sensor: pressure | fields: ts, lon, qc, level
Task: Fetch level from soil_moisture where unit exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057563 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: ts, unit, level, qc
Sensor: sunlight | fields: unit, type, depth, lon
Task: Retrieve reading from temperature that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057564 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, ts, type, value
Sensor: drought_index | fields: value, level, type, qc
Task: Get level from wind_speed where reading exceeds the maximum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057565 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lat, unit, value, qc
Sensor: turbidity | fields: lat, type, value, depth
Task: Retrieve depth from rainfall with value above the MIN(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057566 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: type, unit, lat, reading
Sensor: wind_speed | fields: value, unit, level, depth
Task: Fetch level from frost that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057567 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: reading, lat, lon, level
Sensor: cloud_cover | fields: lat, unit, depth, qc
Task: Fetch reading from evaporation that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057568 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: level, ts, lat, type
Sensor: visibility | fields: depth, qc, ts, value
Task: Retrieve value from wind_speed whose qc is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057569 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: value, depth, qc, lat
Sensor: cloud_cover | fields: lon, depth, value, qc
Task: Retrieve level from snow_depth whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057570 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, lat, reading, unit
Sensor: visibility | fields: level, reading, value, lat
Task: Fetch value from frost where reading is greater than the total of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057571 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: unit, reading, qc, value
Sensor: pressure | fields: value, type, unit, lat
Task: Retrieve lon from uv_index with value above the MAX(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057572 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: level, value, lat, unit
Sensor: frost | fields: type, ts, lat, value
Task: Fetch depth from sunlight where reading is greater than the maximum of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057573 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lat, type, reading, depth
Sensor: snow_depth | fields: ts, lat, reading, unit
Task: Retrieve lat from lightning whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057574 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, qc, depth, value
Sensor: lightning | fields: qc, ts, value, lon
Task: Get value from snow_depth where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057575 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, lat, type, unit
Sensor: temperature | fields: depth, lat, qc, level
Task: Fetch lat from cloud_cover where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057576 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: unit, ts, qc, lat
Sensor: lightning | fields: lat, value, depth, lon
Task: Retrieve lon from sunlight that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057577 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: level, type, lon, reading
Sensor: sunlight | fields: qc, unit, ts, value
Task: Get value from wind_speed where depth appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057578 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: ts, value, type, qc
Sensor: lightning | fields: ts, value, lat, type
Task: Get value from visibility where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057579 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: ts, value, reading, lon
Sensor: uv_index | fields: depth, level, type, value
Task: Retrieve lon from turbidity whose type is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057580 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, qc, lon, lat
Sensor: wind_speed | fields: lat, qc, type, ts
Task: Fetch reading from rainfall that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057581 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, lat, lon, ts
Sensor: sunlight | fields: qc, value, reading, level
Task: Fetch depth from cloud_cover that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057582 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: value, lat, reading, type
Sensor: evaporation | fields: lat, lon, unit, level
Task: Get level from drought_index where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057583 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lon, depth, reading, level
Sensor: soil_moisture | fields: value, unit, depth, ts
Task: Fetch level from turbidity that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057584 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: unit, ts, type, reading
Sensor: wind_speed | fields: lon, type, reading, depth
Task: Retrieve depth from drought_index whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057585 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, reading, ts, unit
Sensor: evaporation | fields: lon, level, lat, reading
Task: Get reading from pressure where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057586 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lat, value, ts, level
Sensor: dew_point | fields: reading, unit, qc, lon
Task: Fetch lon from temperature that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057587 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: level, type, lat, unit
Sensor: cloud_cover | fields: lon, ts, lat, level
Task: Get lat from visibility where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057588 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: level, unit, reading, type
Sensor: lightning | fields: type, unit, ts, qc
Task: Retrieve value from air_quality whose depth is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057589 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: reading, lon, qc, unit
Sensor: frost | fields: qc, depth, lon, unit
Task: Get level from lightning where unit appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057590 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: type, ts, lat, value
Sensor: evaporation | fields: depth, reading, qc, type
Task: Fetch level from frost where depth is greater than the count of of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057591 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: type, depth, level, unit
Sensor: air_quality | fields: depth, lon, lat, type
Task: Get lon from pressure where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057592 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: value, type, unit, reading
Sensor: cloud_cover | fields: qc, lon, level, ts
Task: Retrieve lat from frost with value above the SUM(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"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_057593 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: type, ts, depth, lat
Sensor: temperature | fields: lon, level, ts, depth
Task: Get value from evaporation where value exceeds the maximum depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057594 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: level, lat, depth, value
Sensor: drought_index | fields: value, ts, lon, unit
Task: Retrieve depth from uv_index that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057595 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, ts, lat, value
Sensor: visibility | fields: lon, value, unit, lat
Task: Retrieve lat from snow_depth that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057596 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: depth, ts, lon, level
Sensor: lightning | fields: ts, reading, value, qc
Task: Retrieve lat from sunlight that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057597 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: type, unit, depth, reading
Sensor: cloud_cover | fields: unit, depth, lon, ts
Task: Get level from frost where type appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057598 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: value, lon, reading, ts
Sensor: drought_index | fields: unit, level, value, lat
Task: Fetch level from sunlight where reading is greater than the average of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.