variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: frost | code: gst | fields: lat, lon, value, ts
Sensor: evaporation | fields: ts, value, lat, qc
Task: Fetch lon from frost where value is greater than the average of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006200 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: type, level, lon, ts
Sensor: sunlight | fields: unit, qc, lat, level
Task: Retrieve depth from snow_depth with depth above the MAX(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006201 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lon, unit, reading, level
Sensor: turbidity | fields: qc, reading, depth, level
Task: Retrieve level from frost with reading above the MIN(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006202 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: unit, lat, qc, value
Sensor: pressure | fields: lat, value, level, qc
Task: Retrieve level from lightning that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006203 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lon, value, type, lat
Sensor: sunlight | fields: level, type, lon, qc
Task: Retrieve reading from uv_index whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006204 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: unit, reading, value, qc
Sensor: humidity | fields: value, unit, ts, depth
Task: Get lon from evaporation where value exceeds the average reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006205 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: value, level, reading, type
Sensor: lightning | fields: lat, unit, reading, type
Task: Retrieve depth from turbidity with depth above the COUNT(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006206 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: type, lat, lon, ts
Sensor: evaporation | fields: depth, level, qc, ts
Task: Get level from snow_depth where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006207 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, qc, depth, reading
Sensor: frost | fields: value, ts, depth, lon
Task: Fetch reading from air_quality where reading is greater than the count of of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006208 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, depth, reading, type
Sensor: pressure | fields: level, depth, type, unit
Task: Fetch depth from soil_moisture where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"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_006209 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: depth, lon, qc, level
Sensor: pressure | fields: ts, unit, reading, level
Task: Get value from temperature where depth appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006210 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, qc, lon, ts
Sensor: humidity | fields: lat, reading, qc, depth
Task: Fetch value from frost where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006211 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: ts, value, qc, level
Sensor: cloud_cover | fields: lat, depth, lon, ts
Task: Retrieve reading from evaporation with depth above the COUNT(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006212 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, reading, unit, ts
Sensor: wind_speed | fields: level, lon, ts, lat
Task: Get level from cloud_cover where unit appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006213 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: lon, unit, qc, ts
Sensor: lightning | fields: depth, lat, lon, value
Task: Get lon from dew_point where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006214 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, level, reading, type
Sensor: drought_index | fields: qc, type, level, unit
Task: Get value from soil_moisture where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006215 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, qc, depth, reading
Sensor: wind_speed | fields: ts, qc, lon, depth
Task: Fetch reading from lightning where type exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006216 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: qc, level, type, lon
Sensor: turbidity | fields: type, lon, level, lat
Task: Fetch lon from pressure where type exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006217 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, ts, type, level
Sensor: dew_point | fields: ts, qc, unit, reading
Task: Get value from rainfall where reading exceeds the total value from dew_point for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006218 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, value, lon, depth
Sensor: visibility | fields: depth, unit, type, level
Task: Retrieve reading from snow_depth whose unit is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006219 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: value, reading, depth, type
Sensor: evaporation | fields: unit, qc, reading, value
Task: Retrieve lon from lightning whose depth is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006220 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: depth, ts, type, qc
Sensor: evaporation | fields: ts, level, unit, lat
Task: Fetch reading from visibility where value is greater than the maximum of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006221 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lon, depth, unit, level
Sensor: dew_point | fields: type, qc, value, unit
Task: Retrieve lat from uv_index that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006222 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, unit, level, ts
Sensor: wind_speed | fields: type, level, lat, qc
Task: Get level from cloud_cover where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006223 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lon, value, level, unit
Sensor: air_quality | fields: lon, depth, lat, ts
Task: Retrieve lon from rainfall with depth above the AVG(value) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006224 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, lat, unit, type
Sensor: lightning | fields: lat, lon, depth, reading
Task: Fetch lat from soil_moisture where depth exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006225 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, depth, value, ts
Sensor: dew_point | fields: type, ts, value, lon
Task: Retrieve reading from drought_index that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006226 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lon, reading, qc, ts
Sensor: frost | fields: qc, level, value, depth
Task: Fetch reading from humidity that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006227 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, lon, qc, ts
Sensor: temperature | fields: type, depth, ts, qc
Task: Get reading from snow_depth where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006228 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: level, qc, lat, ts
Sensor: humidity | fields: lat, lon, depth, level
Task: Retrieve lon from sunlight whose ts is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006229 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, lon, type, unit
Sensor: lightning | fields: ts, reading, unit, qc
Task: Get reading from soil_moisture where value exceeds the minimum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006230 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, lon, type, depth
Sensor: cloud_cover | fields: qc, depth, reading, type
Task: Fetch depth from wind_speed that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006231 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lon, lat, value, qc
Sensor: drought_index | fields: qc, value, depth, level
Task: Retrieve depth from turbidity with reading above the AVG(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006232 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: level, unit, value, depth
Sensor: rainfall | fields: reading, ts, type, level
Task: Get lat from drought_index where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006233 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, value, unit, level
Sensor: temperature | fields: level, lon, qc, depth
Task: Get value from soil_moisture where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006234 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: lon, ts, depth, level
Sensor: snow_depth | fields: lat, reading, unit, type
Task: Fetch lat from turbidity where depth is greater than the total of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006235 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: depth, unit, lat, value
Sensor: soil_moisture | fields: lat, unit, qc, ts
Task: Retrieve depth from uv_index that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006236 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: reading, type, ts, value
Sensor: sunlight | fields: value, type, lat, unit
Task: Get level from temperature where qc appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"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_006237 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: unit, level, depth, qc
Sensor: cloud_cover | fields: unit, value, qc, ts
Task: Fetch level from air_quality where ts exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006238 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, value, lat, ts
Sensor: temperature | fields: unit, type, qc, level
Task: Fetch depth from air_quality that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006239 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: qc, type, lon, lat
Sensor: sunlight | fields: type, level, lon, lat
Task: Fetch lat from drought_index where unit exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006240 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: ts, value, level, reading
Sensor: frost | fields: value, depth, type, reading
Task: Get lat from temperature where depth exceeds the average value from frost for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006241 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lon, ts, level, unit
Sensor: soil_moisture | fields: ts, level, value, depth
Task: Retrieve lat from pressure with depth above the SUM(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006242 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, reading, type, level
Sensor: frost | fields: reading, qc, ts, lon
Task: Fetch depth from pressure that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006243 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, unit, level, qc
Sensor: pressure | fields: lat, value, level, qc
Task: Get lon from lightning where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006244 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, depth, unit, type
Sensor: wind_speed | fields: lat, ts, qc, unit
Task: Fetch reading from snow_depth where ts exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006245 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, lat, lon, ts
Sensor: soil_moisture | fields: level, lat, lon, reading
Task: Fetch depth from cloud_cover where ts exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006246 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: qc, lat, depth, unit
Sensor: cloud_cover | fields: qc, level, type, depth
Task: Get depth from lightning where reading exceeds the minimum reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006247 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, ts, unit, lon
Sensor: evaporation | fields: reading, ts, value, unit
Task: Fetch lon from cloud_cover where unit exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006248 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, qc, reading, type
Sensor: wind_speed | fields: unit, reading, ts, value
Task: Get depth from pressure where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006249 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: type, value, depth, lon
Sensor: pressure | fields: unit, value, lat, qc
Task: Fetch value from snow_depth that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006250 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: value, level, lat, type
Sensor: wind_speed | fields: reading, qc, value, level
Task: Fetch level from turbidity where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006251 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, ts, lat, unit
Sensor: soil_moisture | fields: lat, qc, lon, reading
Task: Retrieve reading from rainfall that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006252 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, depth, unit, lon
Sensor: turbidity | fields: reading, type, value, qc
Task: Get lat from snow_depth where depth exceeds the minimum reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006253 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: type, qc, ts, lat
Sensor: rainfall | fields: value, depth, level, reading
Task: Get lon from frost where type appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006254 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lon, type, unit, qc
Sensor: lightning | fields: unit, ts, qc, reading
Task: Get value from dew_point where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006255 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, unit, depth, lon
Sensor: evaporation | fields: lon, depth, reading, qc
Task: Retrieve reading from lightning that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006256 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: depth, unit, lon, level
Sensor: humidity | fields: reading, value, lon, unit
Task: Get lon from temperature where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006257 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: reading, value, unit, depth
Sensor: evaporation | fields: value, lon, ts, lat
Task: Fetch value from pressure that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006258 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, level, ts, type
Sensor: drought_index | fields: level, qc, lat, type
Task: Get reading from uv_index where reading exceeds the count of value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006259 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: ts, value, unit, lon
Sensor: pressure | fields: lon, type, ts, unit
Task: Retrieve depth from visibility with value above the COUNT(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006260 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: type, ts, value, depth
Sensor: turbidity | fields: reading, ts, lat, lon
Task: Retrieve lon from air_quality that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006261 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, qc, type, lon
Sensor: visibility | fields: qc, depth, type, reading
Task: Fetch level from temperature where qc exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006262 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: level, qc, depth, value
Sensor: humidity | fields: value, reading, type, qc
Task: Retrieve value from air_quality with reading above the MAX(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006263 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, unit, lon, ts
Sensor: soil_moisture | fields: reading, ts, unit, value
Task: Retrieve level from cloud_cover with reading above the AVG(value) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006264 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, value, level, lon
Sensor: rainfall | fields: qc, reading, value, lat
Task: Get depth from uv_index where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006265 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: value, type, lat, depth
Sensor: cloud_cover | fields: value, depth, reading, lat
Task: Retrieve level from uv_index with depth above the SUM(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006266 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, level, type, lon
Sensor: visibility | fields: level, lon, reading, unit
Task: Fetch level from frost where depth is greater than the count of of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006267 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: depth, value, type, ts
Sensor: frost | fields: value, ts, unit, lon
Task: Retrieve lat from dew_point with reading above the AVG(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"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_006268 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: level, reading, lat, qc
Sensor: uv_index | fields: qc, type, reading, unit
Task: Get reading from air_quality where value exceeds the average depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006269 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: depth, lon, level, type
Sensor: dew_point | fields: unit, value, lat, level
Task: Get level from evaporation where depth exceeds the maximum depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006270 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: ts, level, type, unit
Sensor: lightning | fields: unit, lon, depth, type
Task: Get value from uv_index where qc appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006271 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: type, depth, ts, qc
Sensor: drought_index | fields: lat, ts, unit, lon
Task: Get lat from temperature where depth exceeds the maximum depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006272 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: level, depth, type, unit
Sensor: pressure | fields: lon, lat, level, value
Task: Retrieve depth from visibility that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006273 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: reading, lon, unit, level
Sensor: soil_moisture | fields: lon, depth, lat, value
Task: Retrieve depth from turbidity with value above the MIN(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006274 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: type, lat, unit, qc
Sensor: sunlight | fields: ts, lon, reading, qc
Task: Retrieve value from visibility with depth above the SUM(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006275 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: value, lat, lon, ts
Sensor: lightning | fields: qc, ts, lat, value
Task: Retrieve depth from drought_index that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006276 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, lat, qc, value
Sensor: dew_point | fields: reading, ts, depth, lat
Task: Get lon from cloud_cover where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006277 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, lat, type, lon
Sensor: evaporation | fields: qc, value, lon, type
Task: Retrieve reading from pressure that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006278 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: unit, lat, reading, value
Sensor: dew_point | fields: lon, ts, type, lat
Task: Get level from drought_index where value exceeds the minimum reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006279 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: depth, reading, ts, unit
Sensor: cloud_cover | fields: level, lon, depth, reading
Task: Retrieve depth from air_quality that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006280 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: qc, lat, reading, value
Sensor: snow_depth | fields: depth, unit, qc, lat
Task: Get value from pressure where reading exceeds the maximum reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006281 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, reading, qc, ts
Sensor: uv_index | fields: value, reading, ts, lon
Task: Fetch depth from soil_moisture that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006282 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, type, depth, value
Sensor: soil_moisture | fields: depth, lat, value, unit
Task: Fetch value from wind_speed that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006283 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, value, lat, depth
Sensor: drought_index | fields: depth, type, level, lon
Task: Retrieve lat from frost with depth above the MAX(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006284 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: type, reading, lat, value
Sensor: drought_index | fields: ts, unit, value, level
Task: Retrieve depth from frost whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006285 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: depth, ts, unit, reading
Sensor: temperature | fields: level, value, depth, lat
Task: Fetch reading from sunlight that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006286 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: level, depth, type, unit
Sensor: cloud_cover | fields: qc, level, value, type
Task: Retrieve value from uv_index with value above the SUM(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006287 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, qc, depth, ts
Sensor: snow_depth | fields: lon, lat, reading, value
Task: Fetch lat from wind_speed where depth exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006288 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, unit, lon, value
Sensor: wind_speed | fields: lon, depth, type, qc
Task: Retrieve reading from visibility whose ts is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006289 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: reading, depth, value, level
Sensor: lightning | fields: type, lat, lon, reading
Task: Retrieve value from uv_index whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006290 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: qc, type, lat, ts
Sensor: cloud_cover | fields: unit, lon, qc, level
Task: Fetch lon from temperature that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006291 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, value, qc, lon
Sensor: turbidity | fields: ts, lon, value, unit
Task: Get value from frost where reading exceeds the minimum value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006292 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, reading, depth, type
Sensor: air_quality | fields: lon, lat, depth, value
Task: Get reading from cloud_cover where qc appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006293 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lat, lon, depth, type
Sensor: turbidity | fields: lon, ts, lat, level
Task: Get level from humidity where depth exceeds the total depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006294 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: value, type, ts, depth
Sensor: rainfall | fields: type, value, reading, unit
Task: Fetch reading from evaporation where type exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006295 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: level, lon, ts, reading
Sensor: dew_point | fields: value, depth, type, reading
Task: Retrieve reading from temperature whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006296 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: qc, level, value, ts
Sensor: lightning | fields: lat, type, ts, qc
Task: Retrieve lat from sunlight whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006297 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: reading, value, ts, qc
Sensor: visibility | fields: reading, depth, type, lon
Task: Fetch level from lightning where unit exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006298 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: level, unit, reading, ts
Sensor: rainfall | fields: reading, ts, lat, type
Task: Fetch reading from visibility where depth is greater than the minimum of reading in rainfall for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.