variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: rainfall | code: clr | fields: unit, lat, level, reading
Sensor: dew_point | fields: level, lon, unit, ts
Task: Get value from rainfall where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007400 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: unit, lon, lat, depth
Sensor: cloud_cover | fields: type, lat, lon, reading
Task: Retrieve lon from turbidity with reading above the MIN(value) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007401 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, lon, ts, unit
Sensor: wind_speed | fields: value, unit, type, lon
Task: Get depth from air_quality where depth exceeds the total depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007402 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, reading, type, lon
Sensor: air_quality | fields: depth, unit, lon, type
Task: Retrieve reading from dew_point with value above the SUM(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007403 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: unit, lon, value, depth
Sensor: cloud_cover | fields: level, depth, lon, qc
Task: Fetch depth from uv_index where value is greater than the minimum of reading in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007404 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, reading, level, unit
Sensor: evaporation | fields: ts, lat, level, qc
Task: Get lon from wind_speed where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007405 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: type, value, unit, level
Sensor: pressure | fields: type, lon, lat, value
Task: Fetch depth from sunlight where value is greater than the total of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007406 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: reading, ts, unit, value
Sensor: visibility | fields: depth, level, reading, lon
Task: Fetch reading from lightning that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007407 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: depth, level, ts, type
Sensor: lightning | fields: level, reading, type, depth
Task: Fetch depth from turbidity where value is greater than the average of value in lightning for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007408 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: level, type, lat, value
Sensor: air_quality | fields: level, reading, lat, depth
Task: Retrieve value from turbidity that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007409 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: lon, value, unit, qc
Sensor: cloud_cover | fields: depth, reading, ts, qc
Task: Get reading from visibility where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007410 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: level, type, lat, lon
Sensor: evaporation | fields: lat, reading, depth, value
Task: Retrieve value from rainfall whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007411 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, reading, depth, type
Sensor: sunlight | fields: ts, unit, lon, reading
Task: Retrieve reading from snow_depth whose qc is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007412 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, value, unit, type
Sensor: soil_moisture | fields: lon, ts, type, depth
Task: Retrieve lat from pressure that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007413 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: lon, level, value, lat
Sensor: cloud_cover | fields: type, level, ts, qc
Task: Get depth from evaporation where depth exceeds the total value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007414 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: type, unit, ts, value
Sensor: air_quality | fields: lon, reading, qc, level
Task: Retrieve lat from wind_speed whose unit is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007415 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: reading, depth, value, lon
Sensor: snow_depth | fields: lon, depth, value, type
Task: Get lat from lightning where reading exceeds the minimum depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007416 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: reading, lat, depth, level
Sensor: lightning | fields: ts, depth, lon, qc
Task: Retrieve depth from rainfall with depth above the COUNT(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007417 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, depth, type, reading
Sensor: dew_point | fields: ts, value, unit, depth
Task: Fetch lon from cloud_cover where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007418 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: level, type, ts, lon
Sensor: lightning | fields: level, qc, lon, depth
Task: Fetch level from air_quality that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007419 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: level, value, ts, unit
Sensor: turbidity | fields: lat, unit, lon, value
Task: Fetch lon from dew_point where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007420 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, unit, ts, level
Sensor: temperature | fields: lon, ts, type, value
Task: Retrieve lat from snow_depth with value above the AVG(value) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007421 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, ts, lon, unit
Sensor: cloud_cover | fields: unit, lat, ts, reading
Task: Get lat from soil_moisture where type appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007422 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, lon, depth, level
Sensor: uv_index | fields: reading, lon, unit, lat
Task: Get depth from visibility where depth exceeds the count of depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007423 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: unit, type, qc, reading
Sensor: drought_index | fields: level, lat, type, value
Task: Fetch depth from temperature where type exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007424 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, depth, lon, unit
Sensor: dew_point | fields: ts, level, unit, reading
Task: Fetch level from rainfall that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007425 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: level, ts, depth, reading
Sensor: visibility | fields: level, value, lon, reading
Task: Get value from turbidity where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007426 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: value, type, unit, level
Sensor: dew_point | fields: ts, type, lon, reading
Task: Get reading from turbidity where value exceeds the average reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007427 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: depth, unit, value, lat
Sensor: rainfall | fields: level, lon, unit, ts
Task: Fetch depth from dew_point that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007428 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: depth, value, type, lat
Sensor: wind_speed | fields: ts, lon, type, depth
Task: Retrieve level from humidity whose ts is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007429 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lat, unit, value, level
Sensor: air_quality | fields: qc, lon, ts, depth
Task: Retrieve value from visibility that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"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_007430 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, ts, unit, qc
Sensor: cloud_cover | fields: type, unit, ts, depth
Task: Get reading from wind_speed where depth exceeds the count of reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007431 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, lat, qc, type
Sensor: air_quality | fields: qc, lon, unit, ts
Task: Retrieve lon from temperature whose depth is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007432 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, ts, reading, lon
Sensor: cloud_cover | fields: ts, level, lat, unit
Task: Get depth from temperature where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007433 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lat, depth, lon, ts
Sensor: dew_point | fields: depth, lon, unit, lat
Task: Get level from frost where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007434 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: ts, lon, reading, unit
Sensor: sunlight | fields: lat, lon, value, type
Task: Get level from frost where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007435 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, level, qc, ts
Sensor: snow_depth | fields: value, depth, level, lon
Task: Retrieve lon from uv_index with depth above the MAX(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007436 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, qc, level, value
Sensor: lightning | fields: lat, reading, ts, level
Task: Get value from visibility where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007437 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, qc, lon, unit
Sensor: temperature | fields: value, ts, unit, type
Task: Get value from soil_moisture where reading exceeds the average reading from temperature for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007438 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, depth, unit, lat
Sensor: air_quality | fields: depth, lon, lat, reading
Task: Get lat from soil_moisture where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007439 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, type, level, depth
Sensor: sunlight | fields: lon, level, value, qc
Task: Get value from wind_speed where reading exceeds the maximum depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007440 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: qc, ts, lon, unit
Sensor: air_quality | fields: type, reading, unit, depth
Task: Retrieve lat from pressure whose type is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007441 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lon, qc, level, depth
Sensor: rainfall | fields: value, unit, lat, depth
Task: Fetch depth from uv_index that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007442 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lat, type, value, lon
Sensor: uv_index | fields: ts, lon, value, reading
Task: Retrieve lon from rainfall that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007443 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: value, lon, qc, type
Sensor: temperature | fields: lat, level, depth, reading
Task: Retrieve reading from humidity with reading above the MIN(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007444 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, unit, reading, lon
Sensor: temperature | fields: reading, lon, value, level
Task: Retrieve level from cloud_cover with reading above the MIN(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007445 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, level, value, ts
Sensor: soil_moisture | fields: qc, lat, unit, value
Task: Get lat from snow_depth where depth exceeds the maximum value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007446 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: reading, lat, lon, level
Sensor: frost | fields: qc, type, ts, lat
Task: Retrieve value from turbidity with reading above the AVG(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007447 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: type, value, lon, depth
Sensor: sunlight | fields: lon, level, qc, unit
Task: Fetch depth from uv_index that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007448 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: reading, unit, value, ts
Sensor: temperature | fields: depth, lon, type, lat
Task: Retrieve level from dew_point whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007449 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, lat, qc, value
Sensor: wind_speed | fields: lon, level, lat, depth
Task: Retrieve lat from uv_index with reading above the SUM(reading) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007450 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, level, depth, type
Sensor: visibility | fields: value, qc, level, ts
Task: Fetch level from evaporation where qc exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007451 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: depth, lat, value, qc
Sensor: pressure | fields: ts, type, level, qc
Task: Get depth from turbidity where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007452 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: type, ts, qc, lat
Sensor: sunlight | fields: lon, lat, depth, qc
Task: Get level from evaporation where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007453 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: type, depth, value, unit
Sensor: frost | fields: depth, type, level, lat
Task: Retrieve lon from rainfall with reading above the SUM(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007454 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: qc, depth, level, type
Sensor: humidity | fields: qc, type, unit, lat
Task: Fetch lon from visibility where reading is greater than the total of value in humidity for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007455 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: ts, lat, qc, value
Sensor: turbidity | fields: value, depth, qc, lon
Task: Retrieve depth from lightning whose type is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007456 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: ts, lon, qc, lat
Sensor: snow_depth | fields: lat, type, unit, lon
Task: Retrieve level from visibility with depth above the MAX(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007457 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: unit, level, value, depth
Sensor: cloud_cover | fields: lat, value, lon, qc
Task: Fetch level from pressure where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007458 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, reading, type, lon
Sensor: visibility | fields: lat, lon, value, level
Task: Get reading from cloud_cover where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007459 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, reading, lat, qc
Sensor: dew_point | fields: value, ts, qc, level
Task: Get lat from air_quality where ts appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007460 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, value, depth, qc
Sensor: lightning | fields: type, reading, level, lon
Task: Fetch level from cloud_cover where unit exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007461 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: qc, ts, lon, depth
Sensor: lightning | fields: value, level, qc, reading
Task: Retrieve depth from evaporation that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007462 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: ts, qc, type, value
Sensor: frost | fields: lon, depth, value, level
Task: Retrieve lat from visibility whose ts is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007463 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: level, unit, lat, type
Sensor: cloud_cover | fields: level, unit, reading, lon
Task: Get depth from temperature where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007464 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, depth, reading, value
Sensor: lightning | fields: lon, type, level, lat
Task: Retrieve reading from soil_moisture whose type is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007465 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: depth, ts, reading, type
Sensor: visibility | fields: level, depth, type, lon
Task: Get level from humidity where value exceeds the average value from visibility for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007466 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, ts, lat, value
Sensor: wind_speed | fields: depth, level, unit, reading
Task: Fetch value from frost where value is greater than the minimum of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007467 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: depth, unit, lon, ts
Sensor: evaporation | fields: type, value, reading, qc
Task: Retrieve level from frost whose ts is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
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": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007468 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lon, level, qc, lat
Sensor: snow_depth | fields: qc, lat, ts, depth
Task: Retrieve value from sunlight whose ts is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007469 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, level, qc, reading
Sensor: uv_index | fields: reading, lon, value, type
Task: Fetch lat from snow_depth where depth is greater than the minimum of value in uv_index for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007470 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, depth, ts, qc
Sensor: wind_speed | fields: lat, level, type, depth
Task: Get depth from snow_depth where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007471 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: level, value, type, depth
Sensor: drought_index | fields: reading, value, type, ts
Task: Fetch level from visibility where ts exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007472 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, level, lon, qc
Sensor: drought_index | fields: reading, depth, qc, type
Task: Get lat from evaporation where unit appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007473 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, type, ts, unit
Sensor: snow_depth | fields: ts, lat, depth, lon
Task: Fetch reading from wind_speed where value is greater than the minimum of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007474 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, depth, level, qc
Sensor: turbidity | fields: reading, ts, value, lat
Task: Retrieve reading from frost with depth above the MAX(reading) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007475 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, unit, depth, type
Sensor: dew_point | fields: level, unit, depth, lat
Task: Fetch lon from cloud_cover that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007476 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, qc, unit, lon
Sensor: frost | fields: reading, lat, unit, depth
Task: Retrieve reading from turbidity whose qc is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007477 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: type, value, lon, lat
Sensor: air_quality | fields: type, lon, lat, qc
Task: Retrieve lat from turbidity that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007478 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: reading, depth, ts, lon
Sensor: pressure | fields: value, lat, level, depth
Task: Fetch lat from temperature where depth is greater than the average of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007479 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: depth, lat, ts, qc
Sensor: evaporation | fields: ts, lon, unit, lat
Task: Retrieve level from visibility whose qc is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007480 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: unit, reading, ts, type
Sensor: drought_index | fields: depth, value, ts, unit
Task: Fetch value from evaporation where reading is greater than the maximum of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007481 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lon, type, unit, qc
Sensor: soil_moisture | fields: ts, lat, lon, reading
Task: Fetch value from pressure that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007482 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, qc, ts, lon
Sensor: temperature | fields: reading, depth, level, ts
Task: Retrieve depth from cloud_cover that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007483 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, lon, value, unit
Sensor: drought_index | fields: reading, value, qc, type
Task: Retrieve lat from pressure that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007484 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: unit, ts, reading, level
Sensor: temperature | fields: type, value, level, unit
Task: Get level from drought_index where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007485 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lat, depth, level, reading
Sensor: cloud_cover | fields: lat, reading, unit, level
Task: Get lon from evaporation where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007486 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: level, lat, depth, value
Sensor: humidity | fields: lon, level, reading, value
Task: Get lat from rainfall where qc appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007487 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, lon, depth, ts
Sensor: drought_index | fields: unit, qc, lat, lon
Task: Fetch lat from soil_moisture where unit exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007488 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: qc, type, ts, value
Sensor: cloud_cover | fields: unit, reading, depth, level
Task: Retrieve value from uv_index whose unit is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007489 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: qc, lon, level, type
Sensor: lightning | fields: unit, ts, type, qc
Task: Fetch level from drought_index that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007490 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: level, type, reading, unit
Sensor: snow_depth | fields: qc, type, depth, unit
Task: Fetch lat from drought_index where reading is greater than the count of of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007491 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: qc, value, type, lat
Sensor: humidity | fields: value, depth, reading, unit
Task: Retrieve value from uv_index that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007492 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, lon, depth, ts
Sensor: lightning | fields: lat, level, ts, depth
Task: Fetch reading from sunlight where reading is greater than the total of value in lightning for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007493 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, depth, reading, unit
Sensor: lightning | fields: depth, value, type, lon
Task: Retrieve depth from cloud_cover whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007494 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: unit, value, ts, type
Sensor: temperature | fields: qc, level, type, lon
Task: Get level from drought_index where depth exceeds the minimum value from temperature for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007495 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: unit, depth, qc, type
Sensor: sunlight | fields: unit, lon, ts, value
Task: Retrieve value from evaporation with reading above the MIN(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007496 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: reading, lon, ts, type
Sensor: sunlight | fields: qc, reading, level, unit
Task: Fetch lon from air_quality where reading is greater than the average of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007497 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lat, unit, type, level
Sensor: air_quality | fields: qc, value, reading, unit
Task: Get level from dew_point where depth exceeds the total reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007498 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, value, unit, depth
Sensor: sunlight | fields: qc, level, unit, type
Task: Retrieve lon from rainfall that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.