variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: pressure | code: prt | fields: level, depth, type, ts
Sensor: lightning | fields: unit, depth, level, value
Task: Retrieve lon from pressure whose depth is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003200 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: type, value, lon, level
Sensor: uv_index | fields: qc, unit, level, lat
Task: Get reading from temperature where qc appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003201 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: type, reading, value, lat
Sensor: dew_point | fields: type, level, value, ts
Task: Get reading from visibility where ts appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003202 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: type, value, ts, depth
Sensor: frost | fields: depth, lon, value, ts
Task: Retrieve level from snow_depth with reading above the MIN(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003203 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: unit, ts, qc, lat
Sensor: visibility | fields: value, ts, type, depth
Task: Fetch lon from drought_index that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003204 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lon, ts, depth, reading
Sensor: frost | fields: unit, lat, depth, reading
Task: Fetch depth from evaporation where value is greater than the total of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003205 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: type, level, ts, qc
Sensor: cloud_cover | fields: level, unit, qc, value
Task: Get lon from turbidity where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"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_003206 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, value, unit, qc
Sensor: snow_depth | fields: unit, value, qc, depth
Task: Retrieve reading from cloud_cover whose qc is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003207 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: type, depth, reading, level
Sensor: snow_depth | fields: level, type, unit, lon
Task: Retrieve level from evaporation whose depth is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003208 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: depth, qc, lon, level
Sensor: lightning | fields: reading, lon, depth, type
Task: Retrieve depth from pressure with reading above the SUM(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003209 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: reading, lon, level, qc
Sensor: uv_index | fields: qc, type, level, ts
Task: Retrieve depth from visibility whose unit is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003210 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, unit, qc, value
Sensor: pressure | fields: reading, value, lat, level
Task: Retrieve lon from rainfall with reading above the AVG(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003211 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lat, depth, unit, reading
Sensor: dew_point | fields: qc, lat, type, level
Task: Get reading from frost where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003212 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: value, ts, lat, qc
Sensor: frost | fields: unit, level, qc, lon
Task: Get value from evaporation where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003213 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: level, ts, lat, unit
Sensor: temperature | fields: level, lon, reading, lat
Task: Retrieve level from sunlight with depth above the COUNT(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003214 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: qc, reading, depth, lat
Sensor: cloud_cover | fields: type, value, depth, qc
Task: Get value from pressure where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003215 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, lat, value, unit
Sensor: frost | fields: type, unit, reading, ts
Task: Fetch lon from visibility where qc exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003216 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, ts, level, value
Sensor: turbidity | fields: level, depth, qc, value
Task: Retrieve lon from humidity that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003217 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lon, reading, value, ts
Sensor: temperature | fields: unit, lat, lon, level
Task: Get value from frost where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003218 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, lat, value, qc
Sensor: visibility | fields: level, type, unit, reading
Task: Retrieve lon from cloud_cover whose unit is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003219 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lat, qc, depth, level
Sensor: temperature | fields: qc, lon, level, value
Task: Fetch lat from uv_index that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"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_003220 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lon, value, ts, lat
Sensor: lightning | fields: type, qc, unit, lon
Task: Retrieve depth from sunlight whose depth is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003221 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, qc, ts, depth
Sensor: dew_point | fields: qc, reading, ts, lat
Task: Fetch reading from soil_moisture where depth exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003222 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: level, qc, type, ts
Sensor: temperature | fields: unit, value, lon, qc
Task: Fetch level from uv_index where reading is greater than the count of of reading in temperature for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003223 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, level, lon, qc
Sensor: cloud_cover | fields: lat, value, reading, qc
Task: Get level from sunlight where qc appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003224 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: ts, unit, qc, level
Sensor: drought_index | fields: lat, depth, value, lon
Task: Get depth from turbidity where value exceeds the total value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003225 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: value, type, reading, ts
Sensor: snow_depth | fields: depth, value, reading, level
Task: Get lat from temperature where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003226 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, reading, value, unit
Sensor: frost | fields: unit, lat, lon, qc
Task: Get depth from temperature where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003227 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: depth, level, value, lon
Sensor: wind_speed | fields: lon, reading, depth, ts
Task: Fetch lon from evaporation where depth is greater than the minimum of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003228 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, type, lon, level
Sensor: dew_point | fields: reading, level, qc, type
Task: Get lon from lightning where reading exceeds the total reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003229 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, lon, qc, unit
Sensor: wind_speed | fields: type, depth, value, reading
Task: Get reading from soil_moisture where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003230 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: value, lat, type, level
Sensor: frost | fields: lon, depth, level, qc
Task: Get level from pressure where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003231 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, ts, level, reading
Sensor: lightning | fields: ts, level, type, qc
Task: Get value from cloud_cover where depth exceeds the minimum value from lightning for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003232 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: depth, unit, reading, level
Sensor: frost | fields: type, qc, lat, ts
Task: Retrieve lat from rainfall that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003233 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lat, qc, lon, value
Sensor: soil_moisture | fields: lat, ts, depth, unit
Task: Fetch lon from turbidity that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003234 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lat, reading, level, qc
Sensor: cloud_cover | fields: ts, lat, reading, qc
Task: Fetch level from turbidity where depth is greater than the minimum of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003235 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, qc, lat, type
Sensor: pressure | fields: type, reading, qc, lat
Task: Retrieve depth from snow_depth with reading above the COUNT(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003236 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: unit, qc, ts, level
Sensor: uv_index | fields: type, level, unit, qc
Task: Get level from rainfall where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003237 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: level, value, lat, unit
Sensor: lightning | fields: ts, lon, unit, depth
Task: Retrieve lon from visibility with depth above the SUM(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003238 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: unit, depth, type, lon
Sensor: frost | fields: lat, level, value, qc
Task: Get lon from drought_index where type appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003239 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: value, lat, unit, type
Sensor: snow_depth | fields: unit, depth, lat, type
Task: Fetch lat from temperature where value is greater than the minimum of depth in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003240 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: unit, qc, type, lon
Sensor: rainfall | fields: value, reading, type, unit
Task: Get value from visibility where value exceeds the maximum reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003241 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: unit, ts, depth, reading
Sensor: lightning | fields: level, type, qc, unit
Task: Get depth from humidity where depth exceeds the minimum reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003242 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, ts, qc, type
Sensor: air_quality | fields: level, unit, lon, qc
Task: Get lat from cloud_cover where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"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_003243 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: type, lon, qc, value
Sensor: humidity | fields: unit, lon, qc, value
Task: Fetch lat from temperature where unit exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003244 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: level, depth, lon, ts
Sensor: pressure | fields: type, depth, value, reading
Task: Retrieve value from rainfall that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003245 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: depth, lat, qc, ts
Sensor: wind_speed | fields: reading, level, value, depth
Task: Retrieve level from drought_index with reading above the MAX(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003246 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, level, qc, unit
Sensor: rainfall | fields: reading, lat, lon, qc
Task: Retrieve lon from turbidity whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003247 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: type, unit, depth, lon
Sensor: dew_point | fields: type, ts, value, depth
Task: Retrieve value from frost whose ts is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003248 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lon, type, unit, level
Sensor: cloud_cover | fields: type, ts, unit, lat
Task: Get depth from uv_index where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
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": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003249 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: depth, lon, value, type
Sensor: soil_moisture | fields: lon, qc, value, ts
Task: Get lon from evaporation where reading exceeds the maximum depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003250 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, reading, depth, lon
Sensor: drought_index | fields: value, depth, reading, lat
Task: Fetch level from air_quality where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003251 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, reading, depth, qc
Sensor: uv_index | fields: reading, type, level, depth
Task: Get depth from soil_moisture where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003252 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, qc, lon, depth
Sensor: evaporation | fields: lat, reading, depth, value
Task: Retrieve lat from snow_depth whose ts is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003253 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lat, lon, depth, level
Sensor: turbidity | fields: type, lon, ts, unit
Task: Retrieve depth from rainfall with depth above the MAX(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003254 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: depth, ts, level, reading
Sensor: sunlight | fields: ts, reading, unit, lon
Task: Retrieve lat from uv_index that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003255 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: unit, lat, reading, qc
Sensor: sunlight | fields: reading, value, type, qc
Task: Get lon from lightning where depth exceeds the maximum depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003256 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: reading, ts, value, lon
Sensor: wind_speed | fields: unit, depth, qc, type
Task: Get value from uv_index where depth exceeds the total value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003257 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, depth, unit, level
Sensor: evaporation | fields: reading, type, lon, ts
Task: Retrieve lon from air_quality with depth above the AVG(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003258 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lat, qc, type, reading
Sensor: cloud_cover | fields: lon, value, ts, qc
Task: Get value from uv_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003259 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: ts, unit, depth, value
Sensor: visibility | fields: unit, qc, reading, depth
Task: Fetch reading from temperature where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003260 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, unit, ts, level
Sensor: visibility | fields: level, reading, ts, qc
Task: Get reading from dew_point where unit appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003261 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, value, level, depth
Sensor: rainfall | fields: reading, lat, level, lon
Task: Retrieve lon from wind_speed with depth above the MAX(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003262 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: value, type, lat, unit
Sensor: frost | fields: lon, reading, type, ts
Task: Retrieve lat from uv_index whose ts is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003263 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: unit, reading, qc, value
Sensor: air_quality | fields: qc, type, reading, ts
Task: Get level from humidity where unit appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003264 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, qc, lat, ts
Sensor: rainfall | fields: reading, level, type, unit
Task: Get lat from frost where ts appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003265 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, lon, reading, ts
Sensor: rainfall | fields: qc, unit, ts, reading
Task: Get reading from cloud_cover where reading exceeds the total depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003266 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lat, value, depth, type
Sensor: evaporation | fields: level, depth, qc, reading
Task: Get level from drought_index where ts appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003267 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: reading, unit, type, qc
Sensor: lightning | fields: lon, reading, level, ts
Task: Fetch lat from uv_index where type exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003268 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, lat, qc, type
Sensor: evaporation | fields: reading, lat, type, level
Task: Retrieve lon from pressure with value above the COUNT(depth) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003269 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: level, value, lon, ts
Sensor: turbidity | fields: lat, lon, unit, value
Task: Fetch depth from frost that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003270 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, lat, type, ts
Sensor: dew_point | fields: level, qc, lon, depth
Task: Retrieve lat from snow_depth that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003271 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, level, reading, lon
Sensor: dew_point | fields: type, lon, depth, level
Task: Get level from wind_speed where depth exceeds the minimum reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003272 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: reading, ts, unit, type
Sensor: lightning | fields: qc, lon, level, reading
Task: Fetch lat from drought_index that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003273 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, lat, depth, reading
Sensor: uv_index | fields: depth, lat, reading, level
Task: Fetch lat from soil_moisture that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003274 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: reading, unit, level, qc
Sensor: evaporation | fields: depth, type, level, lat
Task: Retrieve value from dew_point whose type is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003275 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: value, reading, lat, type
Sensor: dew_point | fields: type, ts, depth, qc
Task: Retrieve lon from air_quality with reading above the MAX(reading) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003276 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: value, type, ts, qc
Sensor: cloud_cover | fields: qc, level, unit, ts
Task: Retrieve reading from humidity whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003277 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, qc, level, reading
Sensor: turbidity | fields: level, ts, unit, reading
Task: Get level from soil_moisture where value exceeds the count of value from turbidity for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003278 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: reading, ts, type, lat
Sensor: air_quality | fields: unit, depth, lat, qc
Task: Fetch lon from drought_index where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003279 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: reading, level, type, depth
Sensor: frost | fields: reading, type, unit, value
Task: Retrieve level from turbidity with depth above the AVG(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003280 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, unit, lat, level
Sensor: cloud_cover | fields: ts, level, qc, reading
Task: Retrieve reading from uv_index whose type is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003281 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: type, lat, qc, level
Sensor: lightning | fields: lat, lon, depth, type
Task: Get depth from snow_depth where depth exceeds the count of reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003282 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: depth, ts, type, level
Sensor: lightning | fields: value, reading, unit, lat
Task: Fetch lat from humidity that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003283 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: value, reading, unit, level
Sensor: rainfall | fields: ts, qc, level, lat
Task: Retrieve reading from pressure with value above the MIN(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003284 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: qc, type, lat, depth
Sensor: sunlight | fields: lat, value, reading, ts
Task: Get value from humidity where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003285 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: type, unit, qc, lon
Sensor: cloud_cover | fields: unit, lon, value, lat
Task: Get value from turbidity where depth appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003286 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: value, level, lon, lat
Sensor: cloud_cover | fields: depth, level, lat, reading
Task: Fetch reading from snow_depth where depth exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003287 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, qc, unit, level
Sensor: visibility | fields: type, lon, value, ts
Task: Get level from drought_index where reading exceeds the count of depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003288 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: level, lon, value, type
Sensor: air_quality | fields: unit, lon, type, depth
Task: Retrieve reading from rainfall whose qc is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003289 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: ts, level, type, reading
Sensor: cloud_cover | fields: reading, qc, level, lat
Task: Get lat from dew_point where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003290 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, ts, type, value
Sensor: humidity | fields: lon, level, type, qc
Task: Fetch lon from cloud_cover where value is greater than the maximum of value in humidity for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003291 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: ts, value, lat, lon
Sensor: cloud_cover | fields: qc, value, level, reading
Task: Fetch lon from pressure where value is greater than the minimum of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003292 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, value, reading, depth
Sensor: humidity | fields: depth, reading, type, level
Task: Retrieve depth from cloud_cover whose qc is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003293 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: ts, lon, unit, level
Sensor: soil_moisture | fields: level, ts, type, value
Task: Retrieve value from lightning that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003294 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lon, qc, reading, value
Sensor: rainfall | fields: level, lat, lon, type
Task: Get lon from uv_index where reading exceeds the minimum reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003295 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: reading, qc, lon, type
Sensor: frost | fields: ts, lon, depth, unit
Task: Fetch lat from lightning that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003296 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lon, lat, unit, ts
Sensor: wind_speed | fields: depth, unit, lon, ts
Task: Retrieve value from visibility with reading above the AVG(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003297 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lon, depth, qc, unit
Sensor: rainfall | fields: qc, lat, depth, type
Task: Fetch level from visibility where depth is greater than the average of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003298 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: unit, qc, value, lat
Sensor: sunlight | fields: value, reading, ts, lat
Task: Get lon from evaporation where unit appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.