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: temperature | code: gst | fields: reading, qc, lon, unit
Sensor: cloud_cover | fields: ts, reading, lon, value
Task: Fetch lon from temperature where depth is greater than the total of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009200 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: ts, value, unit, depth
Sensor: humidity | fields: type, qc, unit, level
Task: Retrieve lon from uv_index whose type is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009201 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, level, qc, lon
Sensor: air_quality | fields: lat, lon, type, value
Task: Get lon from soil_moisture where value exceeds the maximum depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009202 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: value, level, depth, unit
Sensor: temperature | fields: qc, depth, level, type
Task: Retrieve lat from evaporation with reading above the AVG(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009203 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: type, ts, level, unit
Sensor: temperature | fields: unit, ts, lon, reading
Task: Fetch level from uv_index that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009204 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: qc, ts, unit, value
Sensor: snow_depth | fields: reading, lon, lat, level
Task: Retrieve level from dew_point with reading above the AVG(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009205 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, level, ts, qc
Sensor: sunlight | fields: level, type, qc, ts
Task: Get lat from snow_depth where value exceeds the total depth from sunlight for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009206 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, value, unit, ts
Sensor: dew_point | fields: depth, reading, lon, type
Task: Retrieve value from uv_index with depth above the AVG(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009207 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: depth, ts, type, lon
Sensor: lightning | fields: depth, qc, type, level
Task: Get level from temperature where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009208 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: value, lon, depth, qc
Sensor: rainfall | fields: value, level, reading, type
Task: Fetch lon from wind_speed that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009209 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, reading, depth, type
Sensor: turbidity | fields: ts, qc, lon, type
Task: Fetch level from soil_moisture that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009210 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: depth, qc, value, lon
Sensor: air_quality | fields: reading, lat, level, type
Task: Get lon from frost where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009211 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, reading, depth, ts
Sensor: pressure | fields: lon, depth, level, ts
Task: Fetch level from soil_moisture where depth is greater than the maximum of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009212 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, value, unit, lat
Sensor: evaporation | fields: level, ts, unit, qc
Task: Retrieve level from snow_depth with value above the AVG(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009213 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: unit, level, reading, type
Sensor: rainfall | fields: ts, reading, unit, level
Task: Fetch lon from lightning where depth exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009214 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: level, value, ts, unit
Sensor: soil_moisture | fields: lat, depth, reading, value
Task: Fetch value from uv_index where value is greater than the maximum of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009215 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: level, lon, type, unit
Sensor: pressure | fields: type, value, qc, lat
Task: Retrieve value from snow_depth that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009216 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, type, unit, ts
Sensor: soil_moisture | fields: lon, qc, depth, reading
Task: Retrieve level from pressure whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009217 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, ts, type, unit
Sensor: humidity | fields: depth, ts, reading, level
Task: Retrieve level from evaporation whose unit is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009218 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: level, type, unit, lat
Sensor: soil_moisture | fields: type, reading, depth, level
Task: Retrieve lon from rainfall that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009219 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, depth, type, level
Sensor: temperature | fields: lon, type, level, value
Task: Retrieve lon from evaporation with reading above the MIN(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009220 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, value, unit, type
Sensor: visibility | fields: depth, type, qc, lat
Task: Get lat from soil_moisture where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009221 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: reading, level, type, lon
Sensor: pressure | fields: ts, lon, lat, type
Task: Fetch reading from turbidity that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009222 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: qc, depth, lon, unit
Sensor: pressure | fields: level, depth, qc, type
Task: Get lat from dew_point where type appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009223 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, value, qc, depth
Sensor: dew_point | fields: unit, level, lon, depth
Task: Retrieve depth from pressure with value above the MAX(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009224 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, qc, unit, depth
Sensor: temperature | fields: value, depth, lat, qc
Task: Retrieve reading from wind_speed whose depth is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009225 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, qc, lat, depth
Sensor: rainfall | fields: depth, value, lon, type
Task: Retrieve lat from cloud_cover with reading above the MAX(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009226 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, reading, unit, qc
Sensor: dew_point | fields: ts, type, value, reading
Task: Retrieve value from cloud_cover that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009227 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, unit, type, value
Sensor: sunlight | fields: type, unit, value, level
Task: Retrieve depth from wind_speed with depth above the AVG(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009228 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, depth, lat, level
Sensor: snow_depth | fields: lat, lon, ts, depth
Task: Get reading from frost where ts appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009229 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: ts, lat, depth, reading
Sensor: visibility | fields: ts, unit, qc, reading
Task: Fetch value from dew_point where unit exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009230 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: value, unit, depth, qc
Sensor: uv_index | fields: depth, value, type, level
Task: Fetch value from visibility where unit exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009231 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, ts, level, reading
Sensor: drought_index | fields: lat, reading, unit, type
Task: Get value from dew_point where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009232 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, lat, value, type
Sensor: sunlight | fields: level, depth, unit, lat
Task: Fetch depth from temperature that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009233 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lon, qc, ts, level
Sensor: snow_depth | fields: lat, level, ts, depth
Task: Get lon from humidity where type appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009234 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, unit, value, level
Sensor: dew_point | fields: unit, lon, depth, lat
Task: Retrieve value from evaporation that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009235 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: reading, value, unit, qc
Sensor: evaporation | fields: lat, level, value, ts
Task: Fetch depth from air_quality where depth is greater than the count of of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009236 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: ts, depth, lat, qc
Sensor: lightning | fields: unit, depth, type, lat
Task: Fetch value from turbidity where ts exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009237 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: reading, level, depth, value
Sensor: evaporation | fields: ts, value, type, reading
Task: Fetch reading from lightning where qc exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009238 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, type, value, level
Sensor: uv_index | fields: qc, value, depth, ts
Task: Fetch level from lightning that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009239 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: unit, qc, level, lat
Sensor: soil_moisture | fields: unit, qc, depth, lon
Task: Fetch lat from visibility that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009240 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: ts, lat, level, value
Sensor: air_quality | fields: qc, depth, ts, level
Task: Fetch level from lightning where ts exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009241 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: ts, qc, value, lon
Sensor: temperature | fields: ts, depth, lon, reading
Task: Get reading from evaporation where unit appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009242 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: ts, reading, type, lat
Sensor: humidity | fields: lon, qc, ts, depth
Task: Get reading from uv_index where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009243 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, ts, qc, reading
Sensor: visibility | fields: depth, unit, value, lat
Task: Get lon from cloud_cover where depth exceeds the average depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009244 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: ts, unit, level, reading
Sensor: lightning | fields: value, type, depth, ts
Task: Get lat from pressure where reading exceeds the count of reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009245 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lat, level, unit, type
Sensor: dew_point | fields: ts, lon, reading, unit
Task: Retrieve lon from air_quality whose depth is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009246 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: reading, value, qc, level
Sensor: cloud_cover | fields: reading, unit, type, lon
Task: Retrieve depth from lightning with reading above the MIN(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
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": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009247 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: level, type, unit, depth
Sensor: dew_point | fields: qc, ts, lat, level
Task: Fetch reading from lightning where value is greater than the total of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009248 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, depth, lat, ts
Sensor: soil_moisture | fields: lon, depth, unit, type
Task: Get value from sunlight where depth exceeds the count of value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009249 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, depth, unit, ts
Sensor: sunlight | fields: depth, level, value, reading
Task: Retrieve lon from wind_speed with depth above the SUM(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009250 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: unit, lat, value, type
Sensor: rainfall | fields: depth, value, qc, lon
Task: Fetch lon from uv_index that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009251 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, type, lat, unit
Sensor: visibility | fields: unit, lat, depth, reading
Task: Get level from snow_depth where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009252 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, ts, lon, value
Sensor: air_quality | fields: value, reading, ts, depth
Task: Retrieve depth from snow_depth whose depth is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009253 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, lon, depth, lat
Sensor: lightning | fields: lat, lon, unit, qc
Task: Fetch value from cloud_cover where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009254 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, type, ts, depth
Sensor: visibility | fields: ts, value, lat, type
Task: Get lon from sunlight where value exceeds the maximum depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009255 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, value, reading, ts
Sensor: air_quality | fields: lon, lat, ts, level
Task: Get level from snow_depth where reading exceeds the minimum reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009256 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lat, unit, type, value
Sensor: lightning | fields: reading, type, unit, depth
Task: Retrieve level from sunlight whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009257 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lat, qc, lon, unit
Sensor: cloud_cover | fields: level, reading, qc, type
Task: Get lon from drought_index where depth exceeds the minimum value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009258 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: unit, value, depth, qc
Sensor: soil_moisture | fields: lat, reading, unit, qc
Task: Get level from lightning where value exceeds the total depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009259 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: ts, qc, lon, unit
Sensor: pressure | fields: type, value, lon, depth
Task: Retrieve depth from sunlight that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009260 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: depth, reading, unit, level
Sensor: wind_speed | fields: unit, ts, type, reading
Task: Fetch value from humidity that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009261 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, reading, lon, unit
Sensor: lightning | fields: value, lon, unit, reading
Task: Get reading from humidity where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009262 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lat, qc, lon, unit
Sensor: visibility | fields: lon, reading, depth, qc
Task: Fetch lon from rainfall that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009263 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: unit, lon, level, qc
Sensor: pressure | fields: reading, level, qc, lon
Task: Get level from humidity where unit appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009264 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: unit, qc, lat, type
Sensor: uv_index | fields: unit, type, lon, depth
Task: Get reading from evaporation where depth exceeds the total value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009265 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: level, value, type, lon
Sensor: evaporation | fields: reading, value, ts, qc
Task: Fetch lon from snow_depth where qc exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009266 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: depth, level, lon, qc
Sensor: turbidity | fields: value, type, unit, reading
Task: Fetch level from temperature where reading is greater than the maximum of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009267 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: level, reading, lat, depth
Sensor: drought_index | fields: type, value, unit, reading
Task: Retrieve reading from turbidity that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009268 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: unit, reading, depth, value
Sensor: wind_speed | fields: qc, ts, lon, level
Task: Get reading from dew_point where unit appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009269 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, level, ts, depth
Sensor: drought_index | fields: lon, lat, value, depth
Task: Retrieve value from humidity with depth above the COUNT(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009270 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: unit, reading, lon, qc
Sensor: cloud_cover | fields: ts, qc, unit, type
Task: Get depth from humidity where value exceeds the maximum value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009271 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: level, qc, unit, lon
Sensor: humidity | fields: depth, lat, ts, lon
Task: Fetch depth from uv_index where depth is greater than the average of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009272 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: value, reading, ts, lat
Sensor: visibility | fields: lon, level, ts, type
Task: Get level from uv_index where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009273 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, reading, value, lat
Sensor: uv_index | fields: lon, reading, level, depth
Task: Retrieve lat from evaporation with value above the COUNT(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009274 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: depth, value, unit, ts
Sensor: wind_speed | fields: type, qc, lon, depth
Task: Fetch value from temperature that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009275 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, lat, reading, level
Sensor: turbidity | fields: ts, qc, value, lon
Task: Get depth from soil_moisture where depth exceeds the average depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009276 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, unit, lon, lat
Sensor: temperature | fields: type, level, ts, value
Task: Fetch reading from soil_moisture where type exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009277 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lon, level, type, qc
Sensor: rainfall | fields: lat, value, qc, level
Task: Fetch reading from lightning where value is greater than the average of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009278 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, value, qc, reading
Sensor: frost | fields: reading, depth, qc, lat
Task: Get lon from wind_speed where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009279 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: ts, value, lon, unit
Sensor: humidity | fields: level, unit, qc, ts
Task: Get lon from frost where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009280 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, value, type, reading
Sensor: temperature | fields: reading, unit, level, type
Task: Fetch depth from wind_speed where depth exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009281 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: reading, type, value, depth
Sensor: temperature | fields: reading, depth, lat, unit
Task: Get reading from pressure where value exceeds the maximum reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009282 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, unit, value, type
Sensor: lightning | fields: qc, level, type, lon
Task: Get value from turbidity where value exceeds the count of depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009283 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: type, reading, lon, lat
Sensor: frost | fields: type, lon, depth, ts
Task: Retrieve depth from evaporation that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009284 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, ts, type, level
Sensor: rainfall | fields: unit, level, lat, lon
Task: Fetch lon from visibility that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009285 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: depth, qc, type, level
Sensor: uv_index | fields: lon, ts, depth, reading
Task: Get level from frost where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009286 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: lon, type, depth, lat
Sensor: turbidity | fields: depth, level, value, qc
Task: Retrieve depth from humidity whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009287 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lat, reading, depth, qc
Sensor: wind_speed | fields: type, depth, unit, qc
Task: Fetch value from turbidity where reading is greater than the minimum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009288 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: type, depth, reading, ts
Sensor: wind_speed | fields: value, type, level, lat
Task: Fetch level from snow_depth where reading is greater than the count of of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009289 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: reading, level, lat, type
Sensor: turbidity | fields: ts, unit, reading, lat
Task: Retrieve level from humidity with value above the COUNT(value) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009290 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: ts, depth, lat, qc
Sensor: humidity | fields: value, lon, unit, ts
Task: Fetch level from drought_index that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009291 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: ts, qc, reading, depth
Sensor: lightning | fields: depth, lat, qc, type
Task: Fetch lat from rainfall that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009292 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, unit, qc, lon
Sensor: rainfall | fields: ts, level, lat, depth
Task: Get lat from evaporation where qc appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009293 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, level, lat, type
Sensor: turbidity | fields: depth, level, lon, ts
Task: Get lon from lightning where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009294 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: level, depth, lat, unit
Sensor: rainfall | fields: type, reading, qc, ts
Task: Fetch depth from turbidity where depth is greater than the total of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009295 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: level, unit, depth, ts
Sensor: visibility | fields: lat, reading, unit, value
Task: Fetch lat from humidity where value is greater than the minimum of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009296 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lat, reading, unit, level
Sensor: frost | fields: depth, unit, type, reading
Task: Get lat from visibility where reading exceeds the count of reading from frost for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009297 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: depth, value, ts, lon
Sensor: frost | fields: level, qc, unit, lon
Task: Get reading from rainfall where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009298 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: type, level, unit, lon
Sensor: soil_moisture | fields: value, type, lon, qc
Task: Get lat from rainfall where reading exceeds the average depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.