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: turbidity | code: ref | fields: level, depth, lon, lat
Sensor: rainfall | fields: reading, depth, unit, level
Task: Get lon from turbidity where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083400 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, value, unit, type
Sensor: rainfall | fields: depth, lon, reading, level
Task: Fetch value from snow_depth where ts exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083401 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lat, reading, value, lon
Sensor: wind_speed | fields: reading, ts, level, qc
Task: Retrieve depth from visibility that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083402 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, lat, value, qc
Sensor: turbidity | fields: qc, level, unit, ts
Task: Get reading from drought_index where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083403 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: reading, level, type, depth
Sensor: drought_index | fields: lat, reading, ts, type
Task: Get level from frost where type appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083404 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: ts, lat, unit, qc
Sensor: air_quality | fields: lat, type, value, lon
Task: Retrieve lon from sunlight whose qc is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083405 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: ts, type, value, qc
Sensor: snow_depth | fields: depth, ts, lat, value
Task: Get lon from lightning where reading exceeds the count of depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083406 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lon, value, depth, reading
Sensor: dew_point | fields: depth, ts, unit, lon
Task: Retrieve lat from air_quality whose depth is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083407 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, value, lon, qc
Sensor: wind_speed | fields: depth, unit, lon, reading
Task: Fetch level from cloud_cover where depth is greater than the count of of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083408 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, reading, lat, ts
Sensor: visibility | fields: ts, unit, reading, value
Task: Fetch lon from rainfall where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083409 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: unit, depth, type, lat
Sensor: snow_depth | fields: level, lat, unit, ts
Task: Get value from lightning where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083410 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: ts, value, reading, lon
Sensor: sunlight | fields: reading, depth, ts, type
Task: Get depth from dew_point where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083411 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, reading, level, type
Sensor: wind_speed | fields: lat, value, lon, depth
Task: Get reading from lightning where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"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_083412 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: depth, lon, level, ts
Sensor: humidity | fields: qc, unit, lon, type
Task: Fetch value from rainfall where depth exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083413 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lat, type, level, depth
Sensor: cloud_cover | fields: lat, unit, reading, lon
Task: Retrieve lon from drought_index that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083414 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: unit, lat, level, reading
Sensor: frost | fields: type, unit, depth, level
Task: Get value from rainfall where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083415 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: value, unit, reading, ts
Sensor: snow_depth | fields: value, lon, unit, reading
Task: Fetch depth from humidity that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083416 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: depth, type, level, lat
Sensor: snow_depth | fields: value, depth, reading, unit
Task: Retrieve value from rainfall whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083417 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, type, reading, level
Sensor: sunlight | fields: type, unit, lon, reading
Task: Fetch depth from drought_index where depth is greater than the maximum of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"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_083418 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: unit, level, lat, reading
Sensor: drought_index | fields: type, lon, reading, ts
Task: Retrieve depth from dew_point whose unit is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083419 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, unit, reading, value
Sensor: temperature | fields: lat, lon, type, value
Task: Retrieve level from cloud_cover that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"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_083420 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, value, lon, type
Sensor: air_quality | fields: unit, value, lat, lon
Task: Get level from pressure where reading exceeds the minimum reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083421 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: type, ts, reading, lat
Sensor: snow_depth | fields: reading, value, lat, level
Task: Fetch lon from humidity where reading is greater than the count of of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083422 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, reading, ts, lat
Sensor: visibility | fields: value, lat, unit, qc
Task: Get depth from snow_depth where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083423 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lat, value, lon, unit
Sensor: pressure | fields: lon, value, type, depth
Task: Fetch level from uv_index where ts exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083424 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: unit, reading, lat, ts
Sensor: lightning | fields: lat, type, level, unit
Task: Fetch depth from frost that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083425 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: value, lat, level, lon
Sensor: wind_speed | fields: reading, ts, unit, type
Task: Fetch lon from frost that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083426 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: type, reading, unit, lat
Sensor: wind_speed | fields: depth, type, level, qc
Task: Retrieve lon from rainfall whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083427 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: depth, reading, ts, value
Sensor: sunlight | fields: reading, value, depth, qc
Task: Retrieve lat from rainfall with reading above the COUNT(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083428 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, type, depth, qc
Sensor: visibility | fields: reading, lon, level, type
Task: Fetch level from air_quality that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083429 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: qc, depth, reading, value
Sensor: turbidity | fields: reading, qc, lat, value
Task: Retrieve level from temperature with reading above the MAX(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083430 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lon, type, lat, ts
Sensor: temperature | fields: type, ts, unit, lon
Task: Get lon from humidity where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083431 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lat, depth, type, qc
Sensor: pressure | fields: value, ts, lon, reading
Task: Get reading from frost where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083432 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lat, lon, qc, unit
Sensor: humidity | fields: level, depth, unit, type
Task: Retrieve depth from visibility whose qc is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083433 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: depth, qc, level, value
Sensor: evaporation | fields: unit, ts, reading, type
Task: Fetch reading from lightning where qc exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083434 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, type, level, ts
Sensor: soil_moisture | fields: unit, reading, type, level
Task: Fetch lon from uv_index that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083435 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lat, lon, depth, reading
Sensor: pressure | fields: depth, ts, level, reading
Task: Fetch value from dew_point where ts exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083436 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: depth, reading, unit, lon
Sensor: humidity | fields: value, qc, depth, type
Task: Fetch value from lightning that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083437 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, type, lat, lon
Sensor: air_quality | fields: type, depth, unit, level
Task: Fetch value from drought_index where reading is greater than the average of depth in air_quality for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083438 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, reading, ts, level
Sensor: sunlight | fields: value, ts, reading, level
Task: Retrieve reading from uv_index with depth above the MAX(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083439 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: level, lat, qc, lon
Sensor: drought_index | fields: lon, lat, value, unit
Task: Get lon from visibility where depth exceeds the average value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083440 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, ts, unit, qc
Sensor: uv_index | fields: lat, level, reading, depth
Task: Fetch value from frost where value is greater than the total of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083441 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, lon, type, ts
Sensor: drought_index | fields: value, type, qc, lat
Task: Get lat from humidity where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083442 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, depth, ts, lon
Sensor: sunlight | fields: depth, lon, lat, ts
Task: Fetch lat from snow_depth where reading is greater than the total of value in sunlight for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083443 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, lon, qc, unit
Sensor: snow_depth | fields: value, ts, qc, level
Task: Get reading from temperature where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083444 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: reading, type, depth, level
Sensor: soil_moisture | fields: lon, level, qc, type
Task: Get lon from turbidity where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083445 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: value, reading, type, qc
Sensor: humidity | fields: type, qc, level, lat
Task: Get depth from wind_speed where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083446 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, type, reading, depth
Sensor: humidity | fields: ts, unit, level, reading
Task: Get lat from soil_moisture where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083447 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, depth, lon, ts
Sensor: lightning | fields: type, unit, level, value
Task: Get reading from cloud_cover where qc appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083448 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, ts, reading, depth
Sensor: visibility | fields: reading, lon, value, type
Task: Get level from soil_moisture where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083449 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, lat, value, qc
Sensor: pressure | fields: reading, ts, unit, level
Task: Fetch value from cloud_cover where reading is greater than the minimum of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083450 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: reading, lat, depth, ts
Sensor: humidity | fields: lat, depth, ts, qc
Task: Retrieve reading from visibility that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083451 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: depth, lon, qc, unit
Sensor: visibility | fields: qc, lat, lon, depth
Task: Retrieve value from air_quality that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083452 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: level, reading, qc, unit
Sensor: soil_moisture | fields: qc, value, level, ts
Task: Retrieve lon from frost that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083453 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: reading, level, qc, unit
Sensor: sunlight | fields: value, level, lon, depth
Task: Get value from drought_index where type appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083454 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: qc, type, unit, level
Sensor: pressure | fields: depth, value, unit, ts
Task: Get reading from drought_index where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083455 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, lat, depth, unit
Sensor: sunlight | fields: qc, reading, depth, ts
Task: Get lon from cloud_cover where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083456 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: value, ts, type, lon
Sensor: frost | fields: qc, value, lat, depth
Task: Get lon from lightning where value exceeds the minimum value from frost for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083457 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, value, level, ts
Sensor: cloud_cover | fields: type, lat, reading, ts
Task: Fetch reading from visibility where value is greater than the average of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083458 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: value, lat, reading, unit
Sensor: cloud_cover | fields: lon, ts, reading, lat
Task: Get lat from evaporation where qc appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083459 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, qc, type, reading
Sensor: lightning | fields: ts, level, reading, type
Task: Get value from wind_speed where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083460 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: qc, depth, reading, level
Sensor: dew_point | fields: type, unit, qc, ts
Task: Retrieve value from lightning with reading above the COUNT(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083461 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: value, qc, depth, ts
Sensor: cloud_cover | fields: level, lon, lat, qc
Task: Retrieve lat from rainfall that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083462 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, depth, value, type
Sensor: uv_index | fields: qc, type, value, lat
Task: Fetch reading from snow_depth where reading is greater than the count of of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083463 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: reading, type, unit, level
Sensor: lightning | fields: level, unit, qc, lat
Task: Retrieve lat from humidity that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083464 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: type, reading, value, lat
Sensor: snow_depth | fields: unit, reading, ts, depth
Task: Fetch reading from evaporation where qc exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083465 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, type, lon, depth
Sensor: evaporation | fields: reading, value, ts, lon
Task: Fetch reading from visibility that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083466 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, ts, qc, value
Sensor: drought_index | fields: qc, unit, level, reading
Task: Fetch value from wind_speed where ts exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083467 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: type, level, depth, ts
Sensor: pressure | fields: unit, lon, type, ts
Task: Retrieve value from turbidity that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083468 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, lat, lon, qc
Sensor: soil_moisture | fields: reading, level, value, depth
Task: Retrieve level from wind_speed with reading above the MAX(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083469 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: reading, type, depth, qc
Sensor: dew_point | fields: value, lat, unit, qc
Task: Fetch lat from visibility where qc exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083470 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: unit, reading, depth, lon
Sensor: soil_moisture | fields: type, unit, qc, reading
Task: Get level from visibility where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083471 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, ts, lat, level
Sensor: pressure | fields: lon, depth, lat, unit
Task: Retrieve depth from snow_depth whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083472 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: value, level, unit, lat
Sensor: air_quality | fields: depth, type, unit, lon
Task: Get reading from sunlight where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083473 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: level, lat, reading, value
Sensor: temperature | fields: type, depth, reading, level
Task: Fetch level from turbidity that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083474 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: level, unit, depth, lat
Sensor: frost | fields: type, reading, value, unit
Task: Get depth from uv_index where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083475 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: reading, lon, level, unit
Sensor: snow_depth | fields: qc, lat, lon, unit
Task: Fetch level from sunlight where value is greater than the total of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083476 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: value, qc, reading, unit
Sensor: snow_depth | fields: qc, type, reading, ts
Task: Retrieve lat from turbidity that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083477 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: level, lon, depth, reading
Sensor: soil_moisture | fields: lon, depth, qc, value
Task: Fetch level from pressure where value is greater than the total of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083478 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: level, type, qc, lat
Sensor: lightning | fields: value, lat, ts, lon
Task: Fetch lat from sunlight that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083479 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lon, type, reading, unit
Sensor: snow_depth | fields: depth, unit, lat, reading
Task: Fetch lat from humidity where depth is greater than the average of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083480 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, unit, level, depth
Sensor: dew_point | fields: lon, unit, type, depth
Task: Fetch reading from cloud_cover that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083481 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: ts, unit, depth, type
Sensor: soil_moisture | fields: lon, unit, value, level
Task: Get value from pressure where depth exceeds the count of reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083482 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lat, value, type, qc
Sensor: air_quality | fields: value, lon, reading, ts
Task: Retrieve level from dew_point that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083483 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: type, lon, unit, level
Sensor: humidity | fields: depth, lat, unit, qc
Task: Get reading from snow_depth where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083484 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: ts, unit, type, lat
Sensor: uv_index | fields: value, reading, qc, level
Task: Retrieve reading from air_quality that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083485 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: depth, value, lat, level
Sensor: temperature | fields: unit, value, type, qc
Task: Retrieve value from air_quality whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083486 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: type, lon, depth, ts
Sensor: lightning | fields: reading, depth, level, type
Task: Get depth from pressure where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083487 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lat, reading, level, ts
Sensor: sunlight | fields: depth, qc, type, value
Task: Get depth from rainfall where reading exceeds the total depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083488 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, lat, type, ts
Sensor: drought_index | fields: type, qc, reading, lon
Task: Retrieve value from snow_depth with value above the AVG(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083489 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: ts, type, reading, depth
Sensor: sunlight | fields: type, unit, reading, value
Task: Get lat from lightning where depth exceeds the total depth from sunlight for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083490 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: ts, qc, depth, type
Sensor: cloud_cover | fields: unit, qc, level, lat
Task: Get level from dew_point where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083491 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: unit, lon, level, lat
Sensor: sunlight | fields: lat, reading, ts, type
Task: Retrieve depth from uv_index whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083492 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: value, lon, reading, type
Sensor: cloud_cover | fields: unit, lat, ts, qc
Task: Retrieve depth from frost with value above the MIN(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083493 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, level, lon, type
Sensor: humidity | fields: qc, depth, value, lon
Task: Fetch value from wind_speed where value is greater than the total of depth in humidity for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083494 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: depth, unit, lon, qc
Sensor: snow_depth | fields: value, type, lon, depth
Task: Fetch value from lightning that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083495 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: ts, qc, reading, lon
Sensor: humidity | fields: type, lat, value, level
Task: Fetch level from rainfall where unit exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083496 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, level, lon, ts
Sensor: cloud_cover | fields: value, type, unit, depth
Task: Retrieve reading from snow_depth whose unit is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083497 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: level, unit, qc, lon
Sensor: snow_depth | fields: value, level, depth, qc
Task: Fetch reading from uv_index where value is greater than the minimum of reading in snow_depth for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083498 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lat, type, qc, value
Sensor: temperature | fields: value, ts, unit, lon
Task: Get depth from humidity where value exceeds the count of value from temperature for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.