variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: temperature | code: hub | fields: lon, unit, depth, type
Sensor: visibility | fields: depth, level, unit, qc
Task: Get reading from temperature where depth appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065300 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: type, qc, level, reading
Sensor: evaporation | fields: depth, level, qc, lon
Task: Get lat from drought_index where qc appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065301 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, level, lat, unit
Sensor: frost | fields: lon, lat, level, reading
Task: Retrieve value from visibility with value above the SUM(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065302 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, level, ts, lat
Sensor: turbidity | fields: level, depth, ts, value
Task: Get lat from uv_index where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065303 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: depth, ts, unit, level
Sensor: turbidity | fields: qc, unit, type, lon
Task: Fetch reading from temperature where ts exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065304 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: qc, lat, level, type
Sensor: wind_speed | fields: depth, level, reading, ts
Task: Fetch value from frost where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065305 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: depth, type, value, ts
Sensor: dew_point | fields: type, level, depth, value
Task: Fetch level from rainfall where depth exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065306 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lon, value, depth, reading
Sensor: humidity | fields: lat, ts, qc, value
Task: Get level from uv_index where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065307 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: type, level, unit, reading
Sensor: humidity | fields: value, type, lat, lon
Task: Retrieve lon from evaporation whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065308 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lon, level, depth, qc
Sensor: air_quality | fields: level, reading, depth, type
Task: Fetch value from dew_point that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065309 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, type, qc, depth
Sensor: rainfall | fields: value, unit, lon, qc
Task: Retrieve lat from wind_speed whose depth is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065310 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: lon, depth, level, ts
Sensor: dew_point | fields: ts, lat, type, unit
Task: Fetch lon from evaporation that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065311 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: depth, lon, value, unit
Sensor: wind_speed | fields: lat, level, unit, reading
Task: Fetch value from humidity where type exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065312 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, reading, depth, unit
Sensor: sunlight | fields: type, depth, lat, lon
Task: Retrieve level from uv_index with reading above the AVG(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065313 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: level, unit, type, depth
Sensor: lightning | fields: value, lat, depth, unit
Task: Get level from snow_depth where ts appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065314 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, lat, value, qc
Sensor: wind_speed | fields: value, lon, reading, qc
Task: Get value from snow_depth where reading exceeds the maximum depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065315 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, type, value, lon
Sensor: drought_index | fields: lat, type, lon, unit
Task: Fetch depth from wind_speed where reading is greater than the average of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065316 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: ts, lon, reading, lat
Sensor: turbidity | fields: unit, depth, reading, qc
Task: Retrieve lat from sunlight whose unit is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065317 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, level, depth, lat
Sensor: soil_moisture | fields: reading, unit, lon, lat
Task: Fetch level from dew_point where value is greater than the average of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065318 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: qc, value, unit, type
Sensor: turbidity | fields: unit, reading, lon, value
Task: Fetch level from air_quality that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065319 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: type, ts, reading, unit
Sensor: dew_point | fields: value, type, unit, depth
Task: Fetch reading from air_quality where ts exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065320 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: depth, reading, type, lat
Sensor: frost | fields: lon, depth, value, lat
Task: Retrieve lon from drought_index with reading above the MIN(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065321 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: reading, qc, unit, value
Sensor: sunlight | fields: level, ts, qc, unit
Task: Fetch depth from evaporation where reading is greater than the count of of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065322 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lon, type, level, unit
Sensor: frost | fields: qc, ts, lon, value
Task: Retrieve depth from temperature whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065323 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: depth, lon, value, type
Sensor: cloud_cover | fields: qc, lat, value, lon
Task: Get lat from drought_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065324 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lon, reading, level, type
Sensor: pressure | fields: value, lat, qc, depth
Task: Get lat from air_quality where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065325 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: value, lon, level, qc
Sensor: pressure | fields: lon, type, reading, unit
Task: Fetch lon from temperature where reading is greater than the maximum of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065326 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, ts, depth, lon
Sensor: dew_point | fields: value, reading, level, unit
Task: Fetch lat from wind_speed where depth is greater than the count of of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065327 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: level, unit, value, depth
Sensor: sunlight | fields: qc, lat, lon, type
Task: Fetch level from wind_speed where unit exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065328 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: reading, depth, unit, type
Sensor: temperature | fields: qc, type, reading, depth
Task: Fetch value from sunlight that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065329 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lon, reading, depth, lat
Sensor: lightning | fields: reading, qc, ts, type
Task: Retrieve reading from pressure with depth above the COUNT(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065330 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: reading, lat, value, ts
Sensor: temperature | fields: type, unit, lat, level
Task: Fetch reading from frost that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065331 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: reading, lat, qc, type
Sensor: wind_speed | fields: qc, value, level, lat
Task: Retrieve level from sunlight that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065332 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, value, lat, depth
Sensor: humidity | fields: value, level, lat, lon
Task: Fetch depth from turbidity where ts exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065333 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: lat, reading, type, depth
Sensor: soil_moisture | fields: unit, qc, lat, type
Task: Retrieve lat from dew_point whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065334 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: qc, value, lon, type
Sensor: soil_moisture | fields: level, reading, value, lon
Task: Fetch lon from pressure that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065335 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, depth, qc, unit
Sensor: drought_index | fields: reading, lat, level, qc
Task: Get value from wind_speed where depth exceeds the minimum depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065336 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, lat, depth, level
Sensor: sunlight | fields: depth, ts, reading, value
Task: Retrieve lat from wind_speed whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065337 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: level, ts, type, qc
Sensor: cloud_cover | fields: lat, depth, type, lon
Task: Fetch lat from evaporation where depth is greater than the average of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065338 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, lat, qc, level
Sensor: temperature | fields: unit, qc, type, lat
Task: Retrieve lat from wind_speed with reading above the SUM(reading) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065339 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lat, unit, lon, depth
Sensor: temperature | fields: level, ts, depth, qc
Task: Fetch lon from drought_index where depth exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065340 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, ts, value, depth
Sensor: temperature | fields: ts, level, qc, reading
Task: Retrieve level from cloud_cover whose qc is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065341 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lon, ts, value, unit
Sensor: frost | fields: unit, ts, lon, qc
Task: Fetch lat from uv_index that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065342 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: unit, lat, reading, depth
Sensor: air_quality | fields: ts, level, lon, depth
Task: Retrieve level from lightning that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065343 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: ts, qc, level, reading
Sensor: visibility | fields: value, reading, lat, lon
Task: Get depth from dew_point where qc appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065344 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, value, depth, level
Sensor: air_quality | fields: ts, unit, qc, depth
Task: Get depth from cloud_cover where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065345 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: value, qc, level, reading
Sensor: temperature | fields: lon, depth, lat, qc
Task: Fetch lon from frost where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065346 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: ts, reading, lon, depth
Sensor: turbidity | fields: reading, ts, level, lat
Task: Retrieve lat from sunlight with depth above the SUM(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065347 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: type, qc, value, unit
Sensor: dew_point | fields: ts, lat, reading, lon
Task: Get lon from wind_speed where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"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_065348 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: type, value, depth, ts
Sensor: temperature | fields: value, qc, lat, ts
Task: Fetch value from turbidity that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065349 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: depth, type, unit, level
Sensor: uv_index | fields: lon, depth, value, qc
Task: Retrieve lon from turbidity with value above the MAX(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065350 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, level, unit, type
Sensor: air_quality | fields: lat, level, depth, reading
Task: Get depth from snow_depth where unit appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065351 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: qc, unit, lat, level
Sensor: lightning | fields: qc, lon, ts, unit
Task: Get lat from pressure where ts appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065352 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: reading, level, lon, ts
Sensor: air_quality | fields: type, value, unit, ts
Task: Fetch depth from drought_index where reading is greater than the maximum of depth in air_quality for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065353 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: level, depth, reading, lon
Sensor: frost | fields: depth, type, ts, value
Task: Get level from drought_index where value exceeds the average depth from frost for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065354 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, value, depth, type
Sensor: uv_index | fields: lat, ts, depth, type
Task: Fetch reading from evaporation that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065355 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: type, depth, reading, lon
Sensor: pressure | fields: unit, reading, ts, value
Task: Fetch depth from sunlight where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065356 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, unit, level, lat
Sensor: cloud_cover | fields: unit, type, qc, lon
Task: Get lon from soil_moisture where reading exceeds the maximum reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065357 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: reading, lat, lon, value
Sensor: uv_index | fields: depth, value, reading, unit
Task: Get value from sunlight where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065358 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: reading, value, type, ts
Sensor: frost | fields: value, type, depth, ts
Task: Retrieve lat from uv_index with reading above the SUM(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065359 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, level, lon, type
Sensor: lightning | fields: level, depth, ts, reading
Task: Get lon from rainfall where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065360 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: value, depth, ts, reading
Sensor: lightning | fields: lon, reading, level, qc
Task: Fetch value from humidity that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065361 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: qc, unit, level, value
Sensor: sunlight | fields: reading, ts, lat, type
Task: Retrieve lon from pressure whose qc is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065362 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: type, level, reading, depth
Sensor: air_quality | fields: value, level, lat, reading
Task: Get reading from sunlight where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065363 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, lat, reading, type
Sensor: snow_depth | fields: lon, ts, qc, unit
Task: Fetch level from visibility where reading is greater than the average of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065364 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: level, depth, lat, qc
Sensor: lightning | fields: type, level, lat, qc
Task: Get lon from uv_index where ts appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065365 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, lat, level, type
Sensor: sunlight | fields: level, lat, qc, depth
Task: Get depth from cloud_cover where reading exceeds the minimum reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065366 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: reading, qc, lat, unit
Sensor: frost | fields: qc, value, depth, lat
Task: Retrieve level from temperature that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065367 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: level, unit, lat, qc
Sensor: uv_index | fields: type, qc, lon, unit
Task: Get value from drought_index where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065368 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: value, unit, lon, qc
Sensor: air_quality | fields: lat, qc, depth, level
Task: Get level from drought_index where ts appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065369 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: ts, lat, qc, depth
Sensor: dew_point | fields: type, value, reading, lat
Task: Retrieve value from air_quality that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065370 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, depth, lon, reading
Sensor: frost | fields: ts, lon, value, lat
Task: Fetch level from humidity where reading is greater than the total of value in frost for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065371 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: level, qc, depth, ts
Sensor: humidity | fields: qc, level, lon, unit
Task: Retrieve lon from drought_index that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065372 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: value, unit, type, ts
Sensor: temperature | fields: unit, value, lon, ts
Task: Retrieve value from turbidity that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065373 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lat, value, unit, depth
Sensor: drought_index | fields: qc, value, reading, type
Task: Get level from frost where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065374 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, type, ts, value
Sensor: turbidity | fields: lon, level, depth, reading
Task: Retrieve reading from cloud_cover that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065375 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, depth, level, reading
Sensor: cloud_cover | fields: lat, value, level, unit
Task: Get depth from humidity where qc appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065376 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: type, level, depth, lat
Sensor: cloud_cover | fields: reading, ts, level, type
Task: Retrieve value from snow_depth whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065377 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, type, level, lon
Sensor: drought_index | fields: unit, level, qc, lat
Task: Fetch lat from pressure where depth is greater than the maximum of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065378 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, qc, unit, reading
Sensor: wind_speed | fields: lat, depth, qc, ts
Task: Fetch lat from cloud_cover that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065379 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: level, qc, ts, depth
Sensor: snow_depth | fields: qc, depth, lat, type
Task: Retrieve reading from lightning that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065380 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, ts, level, reading
Sensor: air_quality | fields: level, type, lat, qc
Task: Get reading from lightning where type appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065381 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: unit, ts, qc, type
Sensor: wind_speed | fields: lon, type, reading, qc
Task: Get lon from lightning where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065382 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: qc, reading, depth, level
Sensor: dew_point | fields: reading, ts, type, level
Task: Fetch lat from sunlight where type exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065383 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: depth, level, ts, value
Sensor: sunlight | fields: ts, type, lat, depth
Task: Fetch level from air_quality where value is greater than the average of value in sunlight for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065384 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, reading, level, lon
Sensor: drought_index | fields: reading, lat, unit, value
Task: Get level from turbidity where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065385 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, type, qc, depth
Sensor: turbidity | fields: depth, unit, qc, reading
Task: Get level from visibility where qc appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065386 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, unit, value, lat
Sensor: uv_index | fields: value, unit, ts, type
Task: Fetch lat from evaporation where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065387 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: depth, reading, lon, value
Sensor: air_quality | fields: lon, lat, value, qc
Task: Fetch value from temperature where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065388 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, depth, unit, lon
Sensor: soil_moisture | fields: qc, level, ts, type
Task: Fetch reading from drought_index where ts exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065389 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: ts, qc, value, unit
Sensor: pressure | fields: value, unit, depth, ts
Task: Fetch level from dew_point where qc exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065390 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: ts, lon, depth, type
Sensor: drought_index | fields: level, value, qc, reading
Task: Get value from evaporation where depth appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065391 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lon, lat, unit, type
Sensor: turbidity | fields: level, value, lon, reading
Task: Get level from drought_index where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065392 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, qc, depth, value
Sensor: sunlight | fields: reading, depth, qc, type
Task: Retrieve reading from soil_moisture with depth above the MAX(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065393 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, type, level, reading
Sensor: lightning | fields: level, unit, reading, type
Task: Get reading from dew_point where reading exceeds the count of depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065394 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: unit, lat, type, level
Sensor: air_quality | fields: qc, level, lat, value
Task: Get lat from temperature where value exceeds the count of depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065395 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: qc, reading, level, unit
Sensor: frost | fields: reading, ts, type, value
Task: Fetch value from air_quality where reading is greater than the count of of value in frost for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065396 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lat, reading, type, ts
Sensor: wind_speed | fields: reading, level, type, lon
Task: Get value from humidity where depth exceeds the minimum reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065397 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, level, value, lat
Sensor: visibility | fields: level, unit, depth, lat
Task: Fetch reading from drought_index where value is greater than the total of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065398 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: value, level, depth, lon
Sensor: air_quality | fields: type, value, qc, depth
Task: Fetch lon from lightning that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.