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: drought_index | code: prt | fields: lat, depth, reading, type
Sensor: temperature | fields: ts, qc, value, depth
Task: Fetch lon from drought_index that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067300 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, lat, ts, reading
Sensor: rainfall | fields: lon, level, depth, value
Task: Retrieve depth from cloud_cover that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067301 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: type, level, unit, value
Sensor: pressure | fields: level, ts, lat, depth
Task: Get reading from wind_speed where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067302 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lat, unit, type, value
Sensor: dew_point | fields: reading, ts, level, unit
Task: Get value from evaporation where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067303 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, level, unit, depth
Sensor: pressure | fields: level, ts, depth, type
Task: Get value from snow_depth where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067304 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: ts, level, lat, lon
Sensor: rainfall | fields: qc, ts, level, type
Task: Get value from evaporation where value exceeds the count of reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067305 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, type, qc, lon
Sensor: pressure | fields: level, ts, unit, qc
Task: Fetch depth from snow_depth where ts exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067306 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lon, ts, unit, type
Sensor: dew_point | fields: ts, qc, lon, level
Task: Fetch reading from temperature where depth exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067307 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: lat, level, value, ts
Sensor: visibility | fields: lon, reading, type, unit
Task: Fetch depth from temperature where depth is greater than the maximum of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067308 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: reading, type, level, qc
Sensor: wind_speed | fields: lat, depth, qc, reading
Task: Get reading from lightning where reading exceeds the maximum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067309 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lat, reading, type, lon
Sensor: rainfall | fields: lat, ts, qc, unit
Task: Get depth from frost where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067310 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lon, qc, type, ts
Sensor: soil_moisture | fields: qc, level, ts, reading
Task: Get lon from turbidity where value exceeds the minimum depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067311 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, value, type, lat
Sensor: sunlight | fields: depth, unit, reading, ts
Task: Fetch reading from lightning that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067312 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: type, reading, value, level
Sensor: dew_point | fields: reading, lon, qc, depth
Task: Retrieve lat from lightning whose depth is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067313 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: type, ts, value, lat
Sensor: wind_speed | fields: reading, value, type, depth
Task: Get reading from uv_index where depth exceeds the count of depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067314 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: ts, qc, lat, lon
Sensor: humidity | fields: unit, level, qc, lon
Task: Fetch value from temperature where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067315 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, ts, unit, qc
Sensor: uv_index | fields: qc, value, lat, type
Task: Fetch level from dew_point that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067316 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: unit, ts, level, lon
Sensor: humidity | fields: reading, unit, lon, qc
Task: Fetch lon from sunlight that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067317 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, lon, ts, level
Sensor: soil_moisture | fields: depth, type, qc, lon
Task: Retrieve lon from cloud_cover with value above the AVG(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067318 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, unit, value, type
Sensor: snow_depth | fields: value, qc, lat, type
Task: Fetch lon from uv_index where depth is greater than the total of depth in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067319 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lon, unit, type, level
Sensor: snow_depth | fields: lat, unit, value, lon
Task: Get level from temperature where unit appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067320 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, qc, depth, level
Sensor: rainfall | fields: level, depth, unit, lat
Task: Retrieve depth from frost with depth above the COUNT(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067321 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, depth, reading, lon
Sensor: turbidity | fields: level, type, ts, reading
Task: Get level from evaporation where depth appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067322 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: qc, level, type, unit
Sensor: lightning | fields: type, ts, lat, lon
Task: Get value from visibility where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067323 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, value, depth, lat
Sensor: temperature | fields: unit, lat, depth, reading
Task: Retrieve value from frost whose qc is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067324 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: value, ts, lon, level
Sensor: visibility | fields: reading, type, unit, lat
Task: Retrieve level from temperature that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067325 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: level, reading, value, unit
Sensor: sunlight | fields: lat, value, level, reading
Task: Fetch level from snow_depth where qc exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067326 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, lon, type, ts
Sensor: evaporation | fields: value, depth, level, qc
Task: Retrieve lon from frost with value above the MIN(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067327 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, ts, lat, unit
Sensor: visibility | fields: lat, level, value, depth
Task: Fetch level from soil_moisture that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067328 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: reading, type, unit, lon
Sensor: wind_speed | fields: level, value, depth, lat
Task: Get lat from rainfall where depth appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067329 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lon, qc, lat, ts
Sensor: sunlight | fields: value, reading, depth, ts
Task: Get depth from frost where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067330 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, qc, unit, reading
Sensor: wind_speed | fields: type, reading, ts, lon
Task: Fetch lon from temperature where depth is greater than the maximum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067331 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: depth, ts, value, lon
Sensor: wind_speed | fields: value, type, reading, lat
Task: Get lon from visibility where reading exceeds the average depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067332 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, qc, ts, lon
Sensor: visibility | fields: qc, value, ts, level
Task: Get lon from cloud_cover where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067333 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: type, qc, lon, ts
Sensor: drought_index | fields: qc, depth, level, reading
Task: Get lon from visibility where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067334 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, depth, reading, qc
Sensor: temperature | fields: reading, unit, ts, value
Task: Retrieve lat from wind_speed that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067335 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: value, type, ts, depth
Sensor: cloud_cover | fields: reading, unit, value, type
Task: Get reading from wind_speed where depth exceeds the average reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067336 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: reading, lat, value, qc
Sensor: frost | fields: reading, level, type, ts
Task: Get lat from drought_index where value exceeds the maximum value from frost for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067337 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, lat, depth, type
Sensor: dew_point | fields: type, ts, unit, reading
Task: Fetch lon from cloud_cover that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067338 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: ts, qc, unit, reading
Sensor: lightning | fields: lon, level, depth, value
Task: Get depth from air_quality where depth exceeds the maximum value from lightning for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067339 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, depth, lon, reading
Sensor: humidity | fields: qc, reading, value, lat
Task: Get level from soil_moisture where value exceeds the count of value from humidity for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067340 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: value, lon, unit, lat
Sensor: dew_point | fields: ts, qc, value, unit
Task: Get depth from rainfall where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067341 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: qc, depth, value, type
Sensor: wind_speed | fields: value, unit, level, qc
Task: Fetch reading from evaporation that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067342 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, type, level, depth
Sensor: lightning | fields: qc, level, reading, lon
Task: Get lon from turbidity where value exceeds the total value from lightning for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067343 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: qc, unit, type, lat
Sensor: uv_index | fields: depth, ts, reading, type
Task: Get lon from frost where value exceeds the maximum reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067344 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, type, lon, qc
Sensor: uv_index | fields: level, qc, type, depth
Task: Fetch reading from drought_index where reading is greater than the average of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067345 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, depth, lat, type
Sensor: evaporation | fields: ts, level, reading, depth
Task: Get lat from frost where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067346 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, qc, lat, depth
Sensor: rainfall | fields: depth, reading, value, type
Task: Fetch depth from air_quality where reading is greater than the total of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067347 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: ts, qc, lon, type
Sensor: pressure | fields: type, unit, qc, reading
Task: Get level from dew_point where reading exceeds the count of value from pressure for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067348 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: reading, level, qc, ts
Sensor: evaporation | fields: ts, level, qc, lon
Task: Retrieve lon from pressure whose unit is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067349 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: unit, qc, level, lon
Sensor: wind_speed | fields: type, level, value, depth
Task: Fetch lon from turbidity that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067350 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, lat, value, ts
Sensor: uv_index | fields: value, type, ts, lat
Task: Retrieve depth from pressure with depth above the SUM(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067351 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: unit, level, depth, lat
Sensor: cloud_cover | fields: qc, value, ts, lat
Task: Fetch lat from air_quality where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067352 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, ts, qc, level
Sensor: soil_moisture | fields: reading, qc, type, lon
Task: Retrieve reading from wind_speed that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067353 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, unit, value, reading
Sensor: uv_index | fields: reading, lat, type, qc
Task: Fetch reading from air_quality where qc exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067354 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: type, lon, reading, ts
Sensor: sunlight | fields: value, depth, qc, ts
Task: Fetch level from evaporation that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067355 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, type, reading, unit
Sensor: rainfall | fields: reading, lat, level, lon
Task: Retrieve level from snow_depth whose unit is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067356 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: unit, level, value, depth
Sensor: dew_point | fields: ts, lon, depth, lat
Task: Retrieve lon from turbidity that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067357 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lon, qc, reading, unit
Sensor: drought_index | fields: unit, depth, lat, ts
Task: Retrieve reading from uv_index with depth above the COUNT(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067358 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: type, reading, depth, value
Sensor: visibility | fields: lon, value, depth, type
Task: Fetch lat from lightning that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067359 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, type, ts, lat
Sensor: lightning | fields: lat, ts, depth, value
Task: Retrieve value from wind_speed with reading above the MIN(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067360 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: unit, lon, type, depth
Sensor: dew_point | fields: lat, reading, lon, unit
Task: Retrieve value from evaporation that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067361 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, unit, level, qc
Sensor: drought_index | fields: type, value, reading, lat
Task: Get value from air_quality where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067362 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: lat, qc, value, ts
Sensor: sunlight | fields: level, type, depth, qc
Task: Get value from temperature where depth exceeds the maximum value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067363 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, reading, lon, ts
Sensor: drought_index | fields: value, ts, reading, lon
Task: Fetch lat from lightning that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067364 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: qc, ts, lon, unit
Sensor: air_quality | fields: value, reading, ts, lon
Task: Get value from sunlight where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067365 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: unit, ts, type, depth
Sensor: cloud_cover | fields: lon, depth, unit, ts
Task: Fetch lon from air_quality that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067366 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: unit, depth, value, lon
Sensor: cloud_cover | fields: unit, depth, level, qc
Task: Get depth from pressure where value exceeds the total reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067367 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: qc, level, value, reading
Sensor: evaporation | fields: lon, lat, level, ts
Task: Retrieve value from dew_point that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067368 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: unit, lon, lat, reading
Sensor: soil_moisture | fields: type, reading, level, depth
Task: Get value from rainfall where reading exceeds the count of reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067369 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lon, value, depth, type
Sensor: sunlight | fields: type, reading, unit, lon
Task: Fetch level from turbidity where qc exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067370 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: level, lon, qc, ts
Sensor: temperature | fields: depth, qc, lat, reading
Task: Get value from humidity where type appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067371 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lat, value, reading, unit
Sensor: wind_speed | fields: depth, level, reading, lon
Task: Fetch reading from frost that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067372 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, depth, lat, lon
Sensor: wind_speed | fields: depth, level, lon, type
Task: Get level from sunlight where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067373 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, depth, lon, qc
Sensor: lightning | fields: unit, type, reading, level
Task: Retrieve value from cloud_cover that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067374 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: reading, ts, level, lon
Sensor: snow_depth | fields: lat, unit, value, type
Task: Get depth from air_quality where qc appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067375 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, ts, level, lat
Sensor: frost | fields: unit, type, lon, level
Task: Get lat from soil_moisture where qc appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067376 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, type, depth, unit
Sensor: uv_index | fields: depth, unit, reading, ts
Task: Fetch lon from drought_index where qc exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067377 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: reading, unit, type, lat
Sensor: wind_speed | fields: level, lon, type, value
Task: Retrieve reading from frost whose ts is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067378 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lon, lat, unit, qc
Sensor: snow_depth | fields: reading, depth, type, level
Task: Retrieve depth from humidity whose ts is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067379 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: depth, ts, type, level
Sensor: uv_index | fields: reading, level, depth, value
Task: Get level from dew_point where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067380 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, depth, ts, type
Sensor: pressure | fields: unit, type, level, reading
Task: Get lat from turbidity where value exceeds the total depth from pressure for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067381 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: depth, unit, level, lat
Sensor: wind_speed | fields: unit, type, depth, qc
Task: Get depth from turbidity where type appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067382 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, lon, unit, type
Sensor: uv_index | fields: ts, value, reading, lat
Task: Retrieve reading from rainfall whose depth is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067383 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: value, qc, lat, ts
Sensor: pressure | fields: lon, reading, value, depth
Task: Get lat from frost where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067384 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: depth, qc, value, lat
Sensor: rainfall | fields: lon, depth, reading, level
Task: Fetch lon from frost where reading is greater than the count of of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067385 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: type, reading, unit, lon
Sensor: rainfall | fields: level, lon, ts, type
Task: Fetch value from frost where type exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067386 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, qc, unit, level
Sensor: air_quality | fields: lat, type, value, depth
Task: Fetch lon from soil_moisture where ts exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067387 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: qc, value, lon, reading
Sensor: snow_depth | fields: type, depth, value, ts
Task: Fetch level from humidity where value is greater than the minimum of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067388 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: value, lat, ts, level
Sensor: pressure | fields: level, lat, value, qc
Task: Retrieve depth from wind_speed whose qc is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067389 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, reading, level, unit
Sensor: snow_depth | fields: type, qc, unit, ts
Task: Fetch reading from temperature that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067390 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: unit, type, lon, qc
Sensor: drought_index | fields: level, depth, value, reading
Task: Get lon from frost where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067391 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: type, lat, unit, qc
Sensor: lightning | fields: level, depth, lon, unit
Task: Fetch lon from drought_index where reading is greater than the count of of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067392 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, ts, depth, qc
Sensor: rainfall | fields: lon, type, qc, reading
Task: Retrieve lat from pressure that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067393 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: depth, lat, level, unit
Sensor: drought_index | fields: type, ts, lon, level
Task: Get value from lightning where ts appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067394 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, qc, value, depth
Sensor: pressure | fields: lat, level, ts, type
Task: Get value from uv_index where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067395 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: lon, qc, lat, level
Sensor: drought_index | fields: ts, qc, lon, type
Task: Retrieve value from evaporation that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067396 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, qc, value, reading
Sensor: uv_index | fields: depth, type, value, reading
Task: Fetch depth from humidity where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067397 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lat, type, lon, value
Sensor: visibility | fields: type, qc, lat, lon
Task: Retrieve level from lightning whose depth is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067398 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: unit, reading, lat, qc
Sensor: evaporation | fields: value, type, unit, lon
Task: Fetch lat from pressure that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.