variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, level, type, unit
Sensor: soil_moisture | fields: unit, ts, value, type
Task: Get lon from evaporation where reading exceeds the minimum value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024200 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: type, lat, qc, ts
Sensor: lightning | fields: type, ts, level, qc
Task: Fetch lat from evaporation where depth exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024201 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, value, type, reading
Sensor: visibility | fields: value, lon, unit, lat
Task: Get lat from cloud_cover where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024202 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: lat, qc, type, unit
Sensor: evaporation | fields: depth, ts, type, unit
Task: Fetch value from dew_point where unit exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024203 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: reading, lon, value, unit
Sensor: visibility | fields: type, reading, value, ts
Task: Retrieve level from rainfall whose unit is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024204 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: type, lon, value, lat
Sensor: temperature | fields: type, depth, ts, lat
Task: Fetch depth from humidity where qc exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024205 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, lat, unit, depth
Sensor: visibility | fields: type, lon, lat, depth
Task: Get lon from pressure where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024206 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: unit, type, value, ts
Sensor: sunlight | fields: unit, value, lat, qc
Task: Get level from dew_point where depth exceeds the count of value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024207 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: type, reading, ts, value
Sensor: rainfall | fields: type, qc, lat, lon
Task: Fetch lat from turbidity where depth exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024208 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: level, ts, value, type
Sensor: temperature | fields: level, qc, depth, value
Task: Fetch depth from air_quality that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024209 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, unit, type, level
Sensor: frost | fields: qc, unit, reading, type
Task: Get value from soil_moisture where ts appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024210 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: level, value, lat, ts
Sensor: frost | fields: qc, ts, depth, reading
Task: Get depth from turbidity where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024211 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: unit, reading, value, depth
Sensor: pressure | fields: lon, ts, level, depth
Task: Retrieve depth from drought_index that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024212 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lon, ts, lat, depth
Sensor: soil_moisture | fields: type, qc, depth, level
Task: Get reading from turbidity where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024213 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, ts, depth, level
Sensor: snow_depth | fields: lat, depth, value, level
Task: Fetch reading from humidity where value is greater than the average of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024214 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: qc, value, level, unit
Sensor: dew_point | fields: lat, reading, level, depth
Task: Get reading from temperature where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024215 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: reading, value, level, qc
Sensor: temperature | fields: value, depth, type, ts
Task: Get value from frost where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024216 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: qc, lat, type, ts
Sensor: wind_speed | fields: lon, unit, reading, level
Task: Get reading from rainfall where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024217 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: qc, ts, reading, lat
Sensor: soil_moisture | fields: value, type, lat, lon
Task: Retrieve level from drought_index whose qc is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024218 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lon, type, level, unit
Sensor: sunlight | fields: lon, ts, lat, value
Task: Fetch depth from humidity where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024219 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, qc, ts, lon
Sensor: uv_index | fields: depth, lat, lon, value
Task: Get lat from wind_speed where depth exceeds the minimum value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024220 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: type, level, depth, qc
Sensor: air_quality | fields: qc, lat, lon, reading
Task: Retrieve lon from frost that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024221 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, lat, lon, level
Sensor: turbidity | fields: depth, value, type, lat
Task: Get level from air_quality where qc appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024222 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: qc, lat, lon, type
Sensor: pressure | fields: qc, unit, lon, ts
Task: Retrieve lon from turbidity that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024223 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: reading, unit, ts, lon
Sensor: cloud_cover | fields: depth, type, lat, level
Task: Fetch level from sunlight where depth exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024224 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: reading, lon, type, unit
Sensor: turbidity | fields: ts, value, qc, type
Task: Fetch lon from temperature where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024225 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lat, depth, reading, value
Sensor: sunlight | fields: level, ts, value, unit
Task: Fetch level from frost that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024226 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, qc, reading, type
Sensor: uv_index | fields: lon, level, qc, value
Task: Fetch level from air_quality where value is greater than the average of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024227 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, qc, lon, reading
Sensor: cloud_cover | fields: type, reading, lat, lon
Task: Fetch value from soil_moisture where value is greater than the count of of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024228 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: ts, lon, level, unit
Sensor: uv_index | fields: qc, type, level, reading
Task: Retrieve reading from lightning with depth above the SUM(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024229 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: unit, lat, type, reading
Sensor: wind_speed | fields: qc, reading, level, value
Task: Retrieve lon from lightning with reading above the MAX(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024230 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lon, depth, level, value
Sensor: humidity | fields: depth, reading, level, qc
Task: Retrieve value from uv_index that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024231 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: unit, level, lon, value
Sensor: evaporation | fields: reading, unit, depth, lat
Task: Retrieve value from air_quality with reading above the MAX(depth) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024232 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: value, qc, lat, lon
Sensor: snow_depth | fields: level, qc, ts, lon
Task: Retrieve lon from uv_index that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024233 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, value, depth, lon
Sensor: cloud_cover | fields: lon, lat, unit, level
Task: Fetch value from frost where reading is greater than the maximum of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024234 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, lat, lon, level
Sensor: pressure | fields: type, value, level, unit
Task: Retrieve value from drought_index that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024235 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, unit, ts, lat
Sensor: pressure | fields: depth, ts, value, level
Task: Fetch value from soil_moisture that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"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_024236 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, qc, lon, value
Sensor: soil_moisture | fields: type, qc, value, reading
Task: Retrieve value from humidity whose unit is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024237 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: type, reading, qc, ts
Sensor: frost | fields: unit, level, reading, lon
Task: Get lon from temperature where value exceeds the minimum depth from frost for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024238 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: qc, value, ts, lat
Sensor: pressure | fields: level, depth, value, reading
Task: Retrieve reading from evaporation that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024239 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: qc, ts, depth, lon
Sensor: dew_point | fields: level, reading, lon, value
Task: Get lon from pressure where value exceeds the total reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024240 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lat, value, depth, unit
Sensor: wind_speed | fields: type, lon, level, value
Task: Fetch depth from turbidity where type exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024241 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: level, unit, value, lat
Sensor: frost | fields: unit, level, lon, value
Task: Get depth from wind_speed where depth exceeds the average value from frost for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024242 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, reading, type, level
Sensor: wind_speed | fields: unit, lat, level, value
Task: Retrieve reading from soil_moisture that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024243 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: depth, qc, unit, lon
Sensor: uv_index | fields: ts, lat, value, reading
Task: Get depth from sunlight where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024244 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: ts, type, qc, depth
Sensor: pressure | fields: lon, type, ts, reading
Task: Fetch reading from visibility where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024245 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: unit, reading, level, qc
Sensor: air_quality | fields: type, lon, reading, qc
Task: Fetch level from frost that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024246 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: ts, lon, type, lat
Sensor: lightning | fields: reading, lat, unit, value
Task: Fetch value from frost where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024247 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: value, unit, type, depth
Sensor: frost | fields: reading, level, lon, depth
Task: Fetch level from pressure that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024248 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: unit, qc, level, lon
Sensor: lightning | fields: qc, level, reading, ts
Task: Retrieve value from temperature with value above the SUM(depth) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024249 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: qc, lat, value, level
Sensor: turbidity | fields: lon, value, type, qc
Task: Fetch reading from temperature where value is greater than the average of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024250 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: unit, qc, ts, type
Sensor: humidity | fields: unit, lat, level, reading
Task: Retrieve reading from uv_index that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024251 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: qc, lat, ts, level
Sensor: frost | fields: type, unit, reading, qc
Task: Fetch value from uv_index that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024252 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: level, ts, lat, unit
Sensor: air_quality | fields: lat, qc, type, depth
Task: Get reading from wind_speed where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024253 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lat, unit, ts, level
Sensor: visibility | fields: lon, lat, value, qc
Task: Get lat from temperature where reading exceeds the average depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024254 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, unit, reading, level
Sensor: rainfall | fields: depth, value, unit, type
Task: Get value from evaporation where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024255 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: unit, depth, lat, value
Sensor: visibility | fields: qc, level, type, reading
Task: Fetch lat from rainfall that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024256 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: ts, unit, level, value
Sensor: wind_speed | fields: type, lat, unit, qc
Task: Fetch level from dew_point where value is greater than the maximum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024257 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: value, lat, unit, qc
Sensor: cloud_cover | fields: ts, unit, level, value
Task: Fetch reading from rainfall that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024258 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, value, lat, level
Sensor: cloud_cover | fields: reading, qc, ts, lat
Task: Get value from dew_point where depth exceeds the minimum reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024259 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: ts, depth, value, reading
Sensor: sunlight | fields: depth, reading, type, unit
Task: Fetch lat from air_quality where depth is greater than the maximum of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024260 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: depth, type, qc, ts
Sensor: air_quality | fields: lon, level, type, ts
Task: Get lon from turbidity where value exceeds the minimum value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024261 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, level, lon, unit
Sensor: cloud_cover | fields: qc, level, ts, lat
Task: Retrieve reading from lightning with reading above the SUM(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"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_024262 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: ts, level, lat, value
Sensor: cloud_cover | fields: qc, level, lon, depth
Task: Get reading from visibility where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024263 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: ts, reading, lat, depth
Sensor: drought_index | fields: qc, ts, lon, unit
Task: Fetch lon from humidity where ts exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024264 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: unit, type, value, qc
Sensor: evaporation | fields: level, qc, depth, lat
Task: Get value from drought_index where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024265 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, lon, reading, qc
Sensor: lightning | fields: qc, lat, depth, lon
Task: Fetch depth from turbidity where reading is greater than the average of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024266 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: ts, lon, qc, depth
Sensor: air_quality | fields: lat, reading, depth, lon
Task: Get depth from frost where value exceeds the average reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024267 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: qc, unit, level, reading
Sensor: frost | fields: qc, level, reading, value
Task: Fetch value from temperature that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024268 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, qc, reading, type
Sensor: frost | fields: reading, qc, ts, unit
Task: Get depth from lightning where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024269 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: reading, lat, lon, qc
Sensor: air_quality | fields: level, qc, depth, unit
Task: Retrieve reading from evaporation with reading above the COUNT(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024270 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: level, reading, type, ts
Sensor: lightning | fields: lat, reading, unit, depth
Task: Retrieve lon from sunlight whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024271 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, ts, level, type
Sensor: cloud_cover | fields: ts, level, lat, reading
Task: Retrieve level from rainfall with depth above the MIN(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024272 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, lon, qc, lat
Sensor: uv_index | fields: reading, type, lon, ts
Task: Fetch lat from pressure that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024273 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: depth, type, lat, unit
Sensor: turbidity | fields: unit, lon, ts, lat
Task: Retrieve level from evaporation whose depth is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024274 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, unit, lon, reading
Sensor: uv_index | fields: qc, lon, lat, value
Task: Get reading from cloud_cover where unit appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024275 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lon, depth, level, reading
Sensor: evaporation | fields: unit, depth, type, qc
Task: Fetch reading from temperature where type exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024276 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: unit, value, reading, type
Sensor: cloud_cover | fields: type, ts, level, qc
Task: Fetch reading from evaporation where unit exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024277 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, level, reading, unit
Sensor: humidity | fields: reading, level, value, depth
Task: Get depth from snow_depth where depth exceeds the maximum reading from humidity for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024278 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: ts, type, lon, depth
Sensor: sunlight | fields: unit, qc, type, depth
Task: Get level from visibility where ts appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024279 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: unit, type, value, ts
Sensor: lightning | fields: reading, lon, type, ts
Task: Get value from rainfall where depth appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024280 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, ts, reading, value
Sensor: temperature | fields: unit, value, depth, type
Task: Get lat from wind_speed where value exceeds the average depth from temperature for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024281 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: qc, value, level, ts
Sensor: turbidity | fields: lat, ts, depth, qc
Task: Fetch level from drought_index that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024282 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: depth, lon, value, type
Sensor: turbidity | fields: type, value, level, ts
Task: Fetch lat from pressure that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024283 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: type, ts, unit, lat
Sensor: uv_index | fields: ts, type, reading, lon
Task: Get value from humidity where ts appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024284 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lon, lat, ts, qc
Sensor: wind_speed | fields: unit, value, lon, type
Task: Retrieve lat from rainfall whose type is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024285 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: level, depth, lon, lat
Sensor: cloud_cover | fields: ts, qc, unit, reading
Task: Get lat from snow_depth where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024286 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, depth, ts, qc
Sensor: drought_index | fields: reading, qc, value, unit
Task: Retrieve lon from snow_depth with depth above the MAX(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024287 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, unit, reading, ts
Sensor: turbidity | fields: ts, reading, level, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024288 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, lat, value, level
Sensor: turbidity | fields: lon, level, value, depth
Task: Retrieve depth from soil_moisture whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024289 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, reading, value, type
Sensor: rainfall | fields: lat, reading, depth, type
Task: Get reading from dew_point where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024290 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, qc, ts, reading
Sensor: rainfall | fields: value, unit, level, qc
Task: Get lon from cloud_cover where ts appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024291 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lon, unit, depth, reading
Sensor: cloud_cover | fields: depth, qc, lon, level
Task: Get lat from rainfall where depth exceeds the count of reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024292 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: type, level, depth, reading
Sensor: visibility | fields: type, lon, unit, reading
Task: Retrieve value from sunlight that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024293 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lon, lat, unit, value
Sensor: visibility | fields: depth, lon, qc, lat
Task: Retrieve lat from rainfall with reading above the COUNT(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024294 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, value, type, ts
Sensor: lightning | fields: level, value, lat, type
Task: Get value from rainfall where depth exceeds the average depth from lightning for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024295 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, reading, qc, ts
Sensor: rainfall | fields: reading, unit, level, type
Task: Get lon from drought_index where type appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024296 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, lon, depth, level
Sensor: cloud_cover | fields: value, type, lat, qc
Task: Fetch depth from snow_depth where reading is greater than the minimum of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024297 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: type, depth, level, reading
Sensor: sunlight | fields: ts, reading, lat, type
Task: Fetch depth from temperature that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024298 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lon, qc, depth, value
Sensor: uv_index | fields: qc, type, value, level
Task: Fetch reading from dew_point where unit exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.