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: ref | fields: unit, lat, reading, type
Sensor: temperature | fields: lon, type, reading, depth
Task: Fetch lat from rainfall that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004100 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lon, level, value, depth
Sensor: air_quality | fields: reading, unit, qc, level
Task: Retrieve reading from frost whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004101 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: ts, depth, level, lon
Sensor: uv_index | fields: value, depth, qc, type
Task: Fetch lon from rainfall that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004102 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, unit, qc, value
Sensor: soil_moisture | fields: lat, depth, reading, qc
Task: Retrieve level from cloud_cover that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004103 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: depth, lon, qc, reading
Sensor: evaporation | fields: ts, lon, unit, value
Task: Retrieve depth from drought_index that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004104 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, ts, lat, value
Sensor: temperature | fields: type, qc, unit, ts
Task: Get reading from cloud_cover where reading exceeds the minimum reading from temperature for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004105 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: level, unit, depth, type
Sensor: lightning | fields: lat, value, lon, unit
Task: Retrieve lon from pressure with depth above the MIN(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004106 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, value, qc, level
Sensor: humidity | fields: reading, value, qc, ts
Task: Get lat from wind_speed where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004107 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lat, value, qc, type
Sensor: cloud_cover | fields: reading, level, value, qc
Task: Retrieve depth from visibility whose type is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004108 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: value, depth, level, unit
Sensor: air_quality | fields: unit, depth, qc, level
Task: Retrieve value from pressure with depth above the AVG(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004109 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lat, unit, level, lon
Sensor: visibility | fields: qc, ts, unit, reading
Task: Fetch lat from air_quality where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004110 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: unit, depth, qc, lon
Sensor: evaporation | fields: lon, lat, depth, level
Task: Fetch lat from temperature that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004111 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: value, depth, qc, lon
Sensor: cloud_cover | fields: lat, level, type, value
Task: Get level from snow_depth where depth appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004112 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: type, ts, qc, value
Sensor: humidity | fields: reading, value, level, type
Task: Retrieve value from evaporation whose depth is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004113 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: ts, qc, reading, level
Sensor: cloud_cover | fields: ts, lon, type, depth
Task: Fetch lon from evaporation that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004114 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lon, level, type, lat
Sensor: turbidity | fields: level, ts, depth, value
Task: Fetch depth from uv_index that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004115 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: type, qc, reading, lat
Sensor: humidity | fields: type, lon, ts, level
Task: Get level from air_quality where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004116 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, ts, value, level
Sensor: air_quality | fields: lon, level, qc, depth
Task: Fetch reading from wind_speed that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004117 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, reading, qc, unit
Sensor: air_quality | fields: level, value, reading, depth
Task: Retrieve reading from cloud_cover whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004118 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, reading, type, level
Sensor: frost | fields: depth, level, unit, lon
Task: Get reading from lightning where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004119 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: ts, value, depth, qc
Sensor: drought_index | fields: lat, type, lon, unit
Task: Retrieve lon from visibility that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004120 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, qc, type, value
Sensor: cloud_cover | fields: unit, level, depth, reading
Task: Fetch value from pressure where depth is greater than the minimum of reading in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004121 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: value, lat, qc, reading
Sensor: uv_index | fields: depth, level, lon, unit
Task: Retrieve reading from drought_index that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004122 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: reading, ts, lon, type
Sensor: drought_index | fields: level, lon, lat, type
Task: Retrieve level from humidity that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004123 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: value, depth, reading, lat
Sensor: humidity | fields: lon, lat, level, depth
Task: Fetch reading from rainfall that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004124 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: unit, level, ts, reading
Sensor: wind_speed | fields: ts, unit, value, qc
Task: Fetch lat from air_quality where type exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004125 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: value, lon, level, qc
Sensor: cloud_cover | fields: ts, reading, depth, type
Task: Get lat from lightning where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004126 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, type, value, level
Sensor: lightning | fields: lon, type, qc, unit
Task: Fetch reading from pressure where reading is greater than the maximum of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004127 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: reading, qc, type, level
Sensor: cloud_cover | fields: level, unit, lat, ts
Task: Retrieve level from pressure that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004128 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, qc, lon, value
Sensor: cloud_cover | fields: value, reading, unit, qc
Task: Retrieve level from uv_index with reading above the AVG(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004129 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, qc, reading, level
Sensor: soil_moisture | fields: unit, type, reading, lon
Task: Retrieve depth from cloud_cover that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004130 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: ts, value, reading, unit
Sensor: cloud_cover | fields: lon, qc, value, lat
Task: Fetch level from dew_point where type exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004131 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, lat, depth, qc
Sensor: rainfall | fields: type, ts, reading, value
Task: Fetch level from wind_speed where ts exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004132 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, ts, qc, depth
Sensor: wind_speed | fields: reading, depth, ts, type
Task: Retrieve reading from temperature with reading above the COUNT(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004133 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: level, qc, type, reading
Sensor: snow_depth | fields: unit, lat, lon, level
Task: Get reading from evaporation where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004134 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, depth, qc, unit
Sensor: dew_point | fields: reading, depth, type, level
Task: Fetch value from rainfall where reading is greater than the average of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004135 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: qc, type, lat, level
Sensor: drought_index | fields: value, unit, qc, ts
Task: Retrieve value from frost that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004136 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, ts, value, level
Sensor: humidity | fields: unit, level, ts, depth
Task: Retrieve depth from wind_speed that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004137 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: reading, qc, depth, value
Sensor: dew_point | fields: depth, lat, qc, ts
Task: Retrieve lon from pressure that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004138 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: level, unit, lat, reading
Sensor: pressure | fields: unit, level, lat, ts
Task: Get depth from drought_index where value exceeds the count of reading from pressure for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004139 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: ts, type, qc, lon
Sensor: temperature | fields: qc, unit, ts, reading
Task: Retrieve lat from humidity whose unit is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004140 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, depth, level, reading
Sensor: humidity | fields: ts, qc, value, level
Task: Get reading from snow_depth where reading exceeds the average reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004141 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, qc, depth, unit
Sensor: cloud_cover | fields: level, unit, qc, lat
Task: Fetch lon from frost that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004142 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: reading, lon, qc, lat
Sensor: rainfall | fields: value, reading, depth, lat
Task: Get reading from sunlight where depth appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004143 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: level, qc, lat, value
Sensor: wind_speed | fields: qc, reading, level, unit
Task: Get lat from snow_depth where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004144 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: value, ts, qc, unit
Sensor: humidity | fields: ts, lon, reading, qc
Task: Retrieve lon from lightning that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004145 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, unit, level, type
Sensor: lightning | fields: unit, ts, depth, level
Task: Fetch reading from humidity where unit exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004146 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: value, qc, type, depth
Sensor: drought_index | fields: ts, unit, value, level
Task: Retrieve level from evaporation that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004147 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, depth, lat, level
Sensor: uv_index | fields: reading, level, unit, ts
Task: Retrieve value from soil_moisture that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004148 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, ts, level, type
Sensor: visibility | fields: value, type, reading, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004149 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: value, ts, depth, reading
Sensor: temperature | fields: depth, qc, lat, lon
Task: Get level from evaporation where reading exceeds the maximum value from temperature for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004150 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: ts, level, depth, unit
Sensor: wind_speed | fields: lon, ts, depth, lat
Task: Get value from pressure where value exceeds the average depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004151 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: depth, reading, type, level
Sensor: visibility | fields: level, type, lon, lat
Task: Retrieve lat from dew_point that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004152 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: level, value, lat, reading
Sensor: lightning | fields: unit, type, qc, level
Task: Retrieve level from uv_index whose depth is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004153 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, lon, unit, qc
Sensor: lightning | fields: lat, reading, value, qc
Task: Get lat from evaporation where reading exceeds the maximum reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004154 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: qc, depth, unit, ts
Sensor: wind_speed | fields: value, qc, reading, depth
Task: Get level from rainfall where unit appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004155 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: qc, lon, unit, level
Sensor: temperature | fields: value, type, level, qc
Task: Get level from pressure where unit appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004156 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lon, type, reading, depth
Sensor: drought_index | fields: type, lon, depth, qc
Task: Get reading from sunlight where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004157 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, lat, lon, qc
Sensor: wind_speed | fields: lat, type, unit, qc
Task: Get level from sunlight where depth exceeds the minimum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004158 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, lat, unit, reading
Sensor: drought_index | fields: level, depth, type, reading
Task: Fetch value from cloud_cover where value is greater than the total of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004159 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: type, depth, level, reading
Sensor: wind_speed | fields: level, depth, ts, lon
Task: Retrieve lat from drought_index whose qc is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004160 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: type, qc, lat, depth
Sensor: drought_index | fields: ts, reading, lat, type
Task: Get value from snow_depth where unit appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004161 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: qc, reading, lat, level
Sensor: evaporation | fields: qc, depth, lon, value
Task: Fetch level from frost where type exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004162 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, reading, level, lon
Sensor: drought_index | fields: reading, value, level, lat
Task: Fetch lon from temperature that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004163 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: unit, reading, depth, lat
Sensor: uv_index | fields: qc, type, depth, ts
Task: Retrieve depth from turbidity with reading above the COUNT(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004164 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: reading, level, depth, value
Sensor: air_quality | fields: unit, value, lat, qc
Task: Fetch lat from humidity that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004165 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: type, reading, qc, value
Sensor: visibility | fields: lat, ts, qc, type
Task: Retrieve level from sunlight whose ts is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004166 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, reading, value, level
Sensor: visibility | fields: lon, level, value, unit
Task: Get depth from cloud_cover where reading exceeds the total depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004167 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, level, qc, lat
Sensor: rainfall | fields: qc, depth, level, lon
Task: Retrieve depth from wind_speed that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004168 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: type, level, depth, lon
Sensor: uv_index | fields: lon, depth, ts, lat
Task: Fetch lon from rainfall where reading is greater than the minimum of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004169 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: lat, reading, level, type
Sensor: humidity | fields: value, ts, lon, reading
Task: Fetch reading from drought_index where depth is greater than the minimum of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004170 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, level, depth, lat
Sensor: wind_speed | fields: qc, reading, unit, depth
Task: Fetch depth from snow_depth where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004171 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: unit, ts, lat, value
Sensor: sunlight | fields: reading, lon, qc, value
Task: Retrieve lon from drought_index whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004172 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: unit, qc, lat, depth
Sensor: air_quality | fields: value, type, lat, qc
Task: Retrieve level from turbidity with value above the AVG(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004173 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lat, reading, level, value
Sensor: cloud_cover | fields: value, reading, depth, lon
Task: Get reading from uv_index where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004174 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: ts, qc, depth, lat
Sensor: dew_point | fields: ts, reading, depth, type
Task: Retrieve depth from humidity whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004175 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, lat, qc, value
Sensor: uv_index | fields: lon, type, unit, value
Task: Fetch lat from cloud_cover where qc exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004176 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, unit, level, depth
Sensor: pressure | fields: unit, reading, lon, depth
Task: Fetch value from snow_depth that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004177 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: qc, depth, lat, lon
Sensor: air_quality | fields: lon, unit, value, ts
Task: Get depth from lightning where reading exceeds the average depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004178 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: ts, level, qc, depth
Sensor: visibility | fields: unit, type, qc, lat
Task: Get value from temperature where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004179 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: reading, depth, value, unit
Sensor: evaporation | fields: ts, depth, lon, qc
Task: Get lat from uv_index where unit appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004180 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, type, reading, value
Sensor: rainfall | fields: type, level, lat, lon
Task: Fetch lon from lightning where depth is greater than the total of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004181 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: ts, value, depth, type
Sensor: dew_point | fields: ts, value, qc, unit
Task: Get value from rainfall where ts appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004182 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: type, reading, value, level
Sensor: dew_point | fields: ts, level, reading, depth
Task: Retrieve value from frost that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004183 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: type, value, reading, lon
Sensor: wind_speed | fields: value, qc, type, ts
Task: Fetch depth from sunlight where reading is greater than the maximum of depth in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004184 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: level, reading, ts, value
Sensor: dew_point | fields: lon, type, value, qc
Task: Get lon from evaporation where value exceeds the count of depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004185 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, depth, type, value
Sensor: snow_depth | fields: reading, level, type, depth
Task: Get depth from soil_moisture where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004186 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, level, type, reading
Sensor: drought_index | fields: unit, ts, level, qc
Task: Fetch reading from soil_moisture where unit exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004187 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, qc, depth, unit
Sensor: uv_index | fields: value, level, ts, lon
Task: Get reading from soil_moisture where depth exceeds the count of value from uv_index for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004188 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: level, unit, type, lat
Sensor: pressure | fields: lat, ts, depth, value
Task: Fetch value from uv_index where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004189 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, level, unit, lat
Sensor: cloud_cover | fields: lon, value, reading, qc
Task: Fetch level from wind_speed that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004190 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lat, value, depth, unit
Sensor: lightning | fields: type, unit, lon, level
Task: Retrieve reading from air_quality with depth above the AVG(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004191 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, lat, qc, level
Sensor: wind_speed | fields: type, reading, value, qc
Task: Retrieve lon from drought_index with reading above the COUNT(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004192 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: value, lat, qc, unit
Sensor: frost | fields: ts, reading, lon, level
Task: Get lon from uv_index where value exceeds the average depth from frost for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004193 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: depth, level, type, value
Sensor: dew_point | fields: reading, value, level, unit
Task: Retrieve value from lightning whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004194 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: depth, level, ts, qc
Sensor: lightning | fields: lat, value, ts, reading
Task: Fetch level from dew_point that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004195 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, type, lon, reading
Sensor: temperature | fields: reading, level, lat, depth
Task: Get level from cloud_cover where depth exceeds the average reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004196 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, depth, reading, type
Sensor: rainfall | fields: level, unit, value, depth
Task: Fetch depth from soil_moisture where depth is greater than the minimum of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004197 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lat, unit, depth, qc
Sensor: turbidity | fields: lon, level, value, depth
Task: Get lon from temperature where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004198 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: level, depth, reading, qc
Sensor: air_quality | fields: depth, level, unit, value
Task: Get level from humidity where reading exceeds the count of reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.