variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, lat, level, ts
Sensor: sunlight | fields: lat, lon, value, type
Task: Get value from wind_speed where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002300 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, qc, type, value
Sensor: lightning | fields: unit, level, ts, lat
Task: Retrieve depth from pressure that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002301 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lon, reading, unit, level
Sensor: evaporation | fields: reading, lat, ts, level
Task: Get value from turbidity where depth appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002302 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: type, lon, ts, lat
Sensor: turbidity | fields: lon, unit, depth, ts
Task: Fetch value from lightning where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002303 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, value, ts, type
Sensor: temperature | fields: type, qc, reading, value
Task: Fetch lon from rainfall where unit exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002304 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, depth, type, qc
Sensor: turbidity | fields: reading, depth, lon, unit
Task: Retrieve lat from evaporation that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002305 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lon, type, level, reading
Sensor: turbidity | fields: qc, level, reading, value
Task: Fetch value from pressure that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002306 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, qc, type, reading
Sensor: wind_speed | fields: type, depth, ts, unit
Task: Fetch lat from visibility where depth is greater than the count of of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002307 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: qc, depth, reading, type
Sensor: snow_depth | fields: lat, level, depth, qc
Task: Get level from air_quality where depth appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002308 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: value, qc, unit, lon
Sensor: pressure | fields: depth, lat, type, reading
Task: Retrieve reading from temperature whose unit is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002309 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, level, lat, qc
Sensor: soil_moisture | fields: value, qc, lat, reading
Task: Get lon from rainfall where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002310 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: depth, lon, lat, ts
Sensor: temperature | fields: depth, reading, value, unit
Task: Get lat from evaporation where depth exceeds the average value from temperature for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002311 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: unit, value, lat, ts
Sensor: sunlight | fields: lat, lon, reading, ts
Task: Retrieve depth from frost whose unit is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002312 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: level, unit, ts, lat
Sensor: evaporation | fields: lon, type, level, ts
Task: Get level from dew_point where value exceeds the minimum value from evaporation for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002313 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, ts, qc, depth
Sensor: lightning | fields: unit, type, ts, depth
Task: Get level from air_quality where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002314 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: qc, lat, depth, type
Sensor: pressure | fields: unit, type, lat, ts
Task: Get depth from rainfall where ts appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002315 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: depth, lat, lon, level
Sensor: sunlight | fields: qc, lat, value, lon
Task: Fetch lon from uv_index where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002316 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: level, value, lat, depth
Sensor: lightning | fields: unit, value, depth, reading
Task: Retrieve level from humidity with reading above the AVG(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002317 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: qc, unit, depth, lat
Sensor: drought_index | fields: lat, reading, type, level
Task: Retrieve depth from frost that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002318 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, lat, qc, lon
Sensor: uv_index | fields: level, type, depth, unit
Task: Get lon from soil_moisture where depth exceeds the average depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002319 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: level, reading, type, lat
Sensor: snow_depth | fields: type, unit, ts, depth
Task: Retrieve level from drought_index with depth above the AVG(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002320 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: reading, level, qc, unit
Sensor: dew_point | fields: level, qc, value, lon
Task: Fetch reading from temperature where value is greater than the average of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002321 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lon, ts, reading, lat
Sensor: dew_point | fields: level, lat, ts, type
Task: Retrieve reading from rainfall whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002322 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: qc, lat, unit, value
Sensor: humidity | fields: value, reading, lon, level
Task: Retrieve reading from turbidity whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002323 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: value, lon, ts, type
Sensor: turbidity | fields: lon, ts, unit, qc
Task: Get depth from humidity where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002324 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lat, level, type, unit
Sensor: lightning | fields: lat, unit, ts, level
Task: Get depth from uv_index where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002325 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: ts, level, qc, lat
Sensor: pressure | fields: qc, lat, depth, unit
Task: Retrieve level from sunlight whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002326 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, unit, ts, level
Sensor: uv_index | fields: reading, depth, type, level
Task: Get reading from cloud_cover where reading exceeds the average reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002327 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: level, reading, value, ts
Sensor: temperature | fields: qc, lon, reading, lat
Task: Fetch level from humidity where ts exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002328 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: depth, ts, type, reading
Sensor: dew_point | fields: level, ts, value, unit
Task: Retrieve lat from frost whose type is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002329 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, type, ts, lat
Sensor: rainfall | fields: reading, level, type, lat
Task: Fetch lon from wind_speed where depth is greater than the count of of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002330 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, type, depth, lat
Sensor: temperature | fields: type, lon, level, value
Task: Get level from soil_moisture where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002331 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, lon, level, type
Sensor: rainfall | fields: value, unit, depth, lon
Task: Get depth from cloud_cover where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002332 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: unit, lat, reading, type
Sensor: air_quality | fields: type, qc, depth, lat
Task: Get lon from visibility where depth appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002333 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: value, depth, lon, reading
Sensor: frost | fields: type, ts, level, depth
Task: Retrieve depth from evaporation whose qc is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002334 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: lon, unit, level, type
Sensor: wind_speed | fields: qc, depth, type, reading
Task: Fetch lat from dew_point that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002335 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, reading, level, type
Sensor: frost | fields: type, lon, reading, ts
Task: Get reading from dew_point where value exceeds the maximum reading from frost for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002336 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: level, lon, type, qc
Sensor: lightning | fields: level, type, unit, value
Task: Fetch value from dew_point that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002337 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: ts, value, unit, type
Sensor: lightning | fields: reading, lat, type, value
Task: Retrieve lon from drought_index that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002338 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: qc, unit, type, depth
Sensor: evaporation | fields: depth, ts, unit, lat
Task: Get lon from pressure where reading exceeds the total value from evaporation for the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002339 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: value, unit, qc, lat
Sensor: turbidity | fields: lat, depth, qc, ts
Task: Get level from uv_index where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002340 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: value, type, reading, lon
Sensor: frost | fields: lat, depth, value, lon
Task: Retrieve depth from evaporation that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002341 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: reading, qc, value, type
Sensor: turbidity | fields: type, qc, level, reading
Task: Fetch depth from rainfall where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002342 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: reading, value, level, unit
Sensor: drought_index | fields: unit, value, lon, qc
Task: Fetch lat from turbidity where depth is greater than the maximum of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002343 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, ts, value, unit
Sensor: evaporation | fields: unit, reading, type, depth
Task: Get depth from cloud_cover where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002344 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: ts, value, level, lon
Sensor: rainfall | fields: qc, level, ts, unit
Task: Fetch reading from sunlight that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002345 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: lat, unit, level, ts
Sensor: wind_speed | fields: lat, qc, lon, ts
Task: Retrieve lat from temperature with depth above the MIN(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002346 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: depth, ts, lat, level
Sensor: evaporation | fields: level, type, unit, lon
Task: Retrieve lat from pressure with depth above the MAX(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"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_002347 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: ts, lat, value, depth
Sensor: air_quality | fields: unit, reading, lat, ts
Task: Fetch depth from dew_point that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002348 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: reading, type, ts, lon
Sensor: humidity | fields: unit, type, qc, depth
Task: Fetch level from frost where value is greater than the total of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002349 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, qc, value, level
Sensor: pressure | fields: value, lat, type, ts
Task: Get reading from snow_depth where unit appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002350 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: type, unit, level, lon
Sensor: cloud_cover | fields: level, qc, depth, type
Task: Get reading from air_quality where type appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002351 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: depth, qc, lon, reading
Sensor: uv_index | fields: unit, depth, lat, level
Task: Retrieve level from air_quality whose depth is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002352 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: value, lat, depth, ts
Sensor: evaporation | fields: depth, unit, ts, level
Task: Retrieve reading from drought_index that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002353 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: ts, type, qc, depth
Sensor: turbidity | fields: type, lon, lat, ts
Task: Fetch value from pressure where reading is greater than the total of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002354 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, unit, lat, lon
Sensor: dew_point | fields: level, lon, qc, value
Task: Retrieve lat from cloud_cover with depth above the MIN(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002355 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, qc, depth, lon
Sensor: wind_speed | fields: ts, lon, lat, reading
Task: Retrieve depth from soil_moisture whose ts is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002356 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: lon, qc, lat, reading
Sensor: uv_index | fields: reading, type, qc, lat
Task: Fetch lon from visibility that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002357 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: level, qc, lat, unit
Sensor: soil_moisture | fields: lat, depth, qc, unit
Task: Fetch lat from air_quality that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002358 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: qc, lon, ts, type
Sensor: cloud_cover | fields: lon, level, lat, ts
Task: Retrieve reading from dew_point that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002359 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: unit, lat, qc, depth
Sensor: dew_point | fields: unit, value, qc, ts
Task: Get lat from temperature where reading exceeds the average value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002360 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: qc, unit, value, lon
Sensor: soil_moisture | fields: ts, level, depth, qc
Task: Get lon from rainfall where unit appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002361 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: type, value, depth, lat
Sensor: air_quality | fields: type, reading, depth, level
Task: Retrieve value from turbidity with value above the AVG(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002362 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, type, lon, ts
Sensor: soil_moisture | fields: lat, qc, depth, reading
Task: Fetch reading from temperature where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002363 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: depth, ts, type, value
Sensor: turbidity | fields: level, depth, ts, type
Task: Get lat from dew_point where type appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002364 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: unit, type, lon, qc
Sensor: humidity | fields: value, lat, reading, type
Task: Fetch value from uv_index that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002365 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: qc, lon, value, reading
Sensor: uv_index | fields: depth, lat, level, reading
Task: Get level from temperature where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002366 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, reading, unit, ts
Sensor: sunlight | fields: lon, unit, ts, level
Task: Fetch lat from evaporation that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002367 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, lon, reading, ts
Sensor: lightning | fields: ts, level, depth, lat
Task: Retrieve lat from cloud_cover whose qc is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002368 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: unit, type, lon, depth
Sensor: visibility | fields: unit, ts, depth, qc
Task: Get reading from frost where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002369 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, level, depth, qc
Sensor: sunlight | fields: lat, value, unit, ts
Task: Get lon from pressure where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002370 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: level, type, value, lat
Sensor: snow_depth | fields: lon, ts, type, reading
Task: Fetch level from air_quality where type exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002371 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, reading, depth, ts
Sensor: humidity | fields: ts, unit, level, lon
Task: Get reading from uv_index where ts appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002372 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, qc, lon, unit
Sensor: evaporation | fields: type, reading, lat, level
Task: Fetch lon from soil_moisture where depth is greater than the total of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002373 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, level, depth, ts
Sensor: humidity | fields: depth, type, qc, lon
Task: Retrieve lat from frost with value above the MIN(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002374 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: ts, value, type, reading
Sensor: humidity | fields: value, level, depth, qc
Task: Get lat from dew_point where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002375 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lat, ts, depth, type
Sensor: wind_speed | fields: unit, level, type, lat
Task: Get reading from visibility where depth exceeds the average depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002376 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: ts, depth, level, unit
Sensor: rainfall | fields: depth, type, lat, qc
Task: Get lon from evaporation where value exceeds the total value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002377 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, lon, unit, type
Sensor: drought_index | fields: depth, qc, unit, level
Task: Retrieve reading from snow_depth whose depth is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002378 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: depth, qc, lat, lon
Sensor: visibility | fields: ts, level, depth, lon
Task: Get lat from lightning where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002379 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: unit, level, qc, lat
Sensor: dew_point | fields: depth, reading, unit, qc
Task: Get value from turbidity where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002380 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, unit, qc, lat
Sensor: dew_point | fields: depth, unit, type, reading
Task: Retrieve value from air_quality whose unit is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002381 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, value, unit, lon
Sensor: soil_moisture | fields: lon, type, reading, unit
Task: Get level from snow_depth where value exceeds the minimum value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002382 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, lon, level, value
Sensor: dew_point | fields: lat, unit, ts, qc
Task: Fetch reading from cloud_cover where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002383 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, qc, value, lon
Sensor: dew_point | fields: qc, lon, ts, reading
Task: Get level from cloud_cover where depth exceeds the minimum value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002384 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: unit, ts, qc, depth
Sensor: drought_index | fields: value, unit, type, lat
Task: Retrieve value from pressure with reading above the SUM(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002385 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: ts, lat, reading, value
Sensor: sunlight | fields: reading, qc, depth, unit
Task: Fetch value from pressure where depth is greater than the count of of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002386 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: lon, ts, depth, type
Sensor: lightning | fields: reading, type, unit, depth
Task: Retrieve value from rainfall whose depth is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002387 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: qc, reading, ts, level
Sensor: air_quality | fields: depth, lon, lat, qc
Task: Retrieve level from rainfall that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002388 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: ts, type, lon, lat
Sensor: lightning | fields: ts, reading, qc, value
Task: Fetch value from dew_point where value is greater than the count of of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002389 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, ts, level, value
Sensor: temperature | fields: lon, qc, reading, level
Task: Fetch depth from dew_point where value is greater than the total of value in temperature for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002390 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: ts, depth, lat, value
Sensor: pressure | fields: qc, ts, reading, type
Task: Retrieve depth from humidity that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002391 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: level, type, ts, qc
Sensor: lightning | fields: level, lon, lat, qc
Task: Fetch reading from dew_point that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002392 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lon, depth, lat, reading
Sensor: frost | fields: qc, level, lon, depth
Task: Fetch lat from turbidity where reading is greater than the average of depth in frost for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002393 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: unit, qc, value, level
Sensor: cloud_cover | fields: depth, lon, level, type
Task: Get value from air_quality where depth appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002394 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lat, reading, unit, qc
Sensor: cloud_cover | fields: depth, qc, lon, level
Task: Retrieve depth from pressure with depth above the MIN(value) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002395 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, qc, type, value
Sensor: evaporation | fields: qc, lat, type, unit
Task: Get depth from drought_index where qc appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002396 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, lat, ts, type
Sensor: soil_moisture | fields: ts, value, reading, type
Task: Get lon from cloud_cover where depth exceeds the total depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002397 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, ts, depth, reading
Sensor: rainfall | fields: level, reading, unit, type
Task: Retrieve reading from snow_depth with depth above the MAX(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002398 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lat, reading, depth, unit
Sensor: visibility | fields: level, unit, depth, lat
Task: Get reading from frost where unit appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.