variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: frost | code: clr | fields: depth, lon, lat, level
Sensor: drought_index | fields: reading, value, qc, lat
Task: Fetch lon from frost that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080200 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: type, depth, unit, lon
Sensor: dew_point | fields: lon, lat, qc, ts
Task: Fetch level from lightning where qc exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080201 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: ts, value, lon, lat
Sensor: uv_index | fields: unit, ts, lat, reading
Task: Retrieve depth from pressure that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080202 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, qc, ts, level
Sensor: pressure | fields: lon, qc, value, level
Task: Get lon from soil_moisture where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080203 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lon, lat, type, ts
Sensor: snow_depth | fields: qc, unit, level, lon
Task: Fetch level from dew_point where type exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080204 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, depth, level, lat
Sensor: soil_moisture | fields: level, value, unit, reading
Task: Retrieve level from drought_index whose unit is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080205 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lat, ts, depth, unit
Sensor: turbidity | fields: level, value, depth, ts
Task: Fetch depth from air_quality that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080206 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, lat, lon, reading
Sensor: turbidity | fields: ts, depth, type, value
Task: Get lon from drought_index where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080207 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lat, unit, level, type
Sensor: cloud_cover | fields: reading, lat, ts, depth
Task: Get depth from dew_point where depth exceeds the average value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080208 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, lon, reading, depth
Sensor: evaporation | fields: lon, ts, unit, qc
Task: Get value from cloud_cover where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080209 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, qc, lon, ts
Sensor: dew_point | fields: reading, type, level, qc
Task: Fetch reading from visibility where reading is greater than the total of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080210 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: unit, level, depth, type
Sensor: sunlight | fields: level, lat, unit, depth
Task: Retrieve depth from dew_point with reading above the COUNT(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080211 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: type, value, level, unit
Sensor: pressure | fields: qc, unit, lat, depth
Task: Fetch value from lightning that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080212 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lat, ts, type, value
Sensor: turbidity | fields: value, type, level, lon
Task: Get lon from air_quality where ts appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080213 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, type, reading, ts
Sensor: sunlight | fields: depth, ts, unit, value
Task: Fetch reading from cloud_cover where qc exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080214 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, reading, lon, ts
Sensor: soil_moisture | fields: lon, type, reading, qc
Task: Get depth from sunlight where type appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080215 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: lon, qc, lat, value
Sensor: temperature | fields: type, lon, value, lat
Task: Fetch level from dew_point where depth exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080216 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: level, ts, lat, lon
Sensor: drought_index | fields: reading, lat, ts, lon
Task: Retrieve reading from temperature with value above the MIN(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080217 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: depth, type, lon, value
Sensor: rainfall | fields: reading, type, depth, level
Task: Get lon from pressure where reading exceeds the maximum value from rainfall for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080218 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, lat, qc, value
Sensor: turbidity | fields: value, type, reading, lat
Task: Fetch lon from soil_moisture where reading is greater than the minimum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080219 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, unit, qc, value
Sensor: snow_depth | fields: unit, value, reading, type
Task: Retrieve lon from lightning whose depth is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080220 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, type, lat, value
Sensor: temperature | fields: lat, unit, type, lon
Task: Fetch lon from visibility where ts exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080221 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: depth, qc, type, lon
Sensor: temperature | fields: lat, value, qc, level
Task: Retrieve reading from air_quality that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080222 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: depth, unit, value, lon
Sensor: uv_index | fields: unit, level, depth, lat
Task: Get reading from frost where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080223 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, reading, level, lat
Sensor: dew_point | fields: type, reading, lat, qc
Task: Fetch value from wind_speed that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080224 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lon, level, qc, value
Sensor: sunlight | fields: qc, ts, value, type
Task: Fetch value from temperature that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080225 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: reading, lon, value, level
Sensor: humidity | fields: level, depth, lon, ts
Task: Get value from uv_index where depth exceeds the maximum value from humidity for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080226 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, qc, ts, depth
Sensor: soil_moisture | fields: unit, ts, depth, value
Task: Fetch lon from sunlight where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080227 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: unit, lat, lon, ts
Sensor: soil_moisture | fields: qc, level, reading, value
Task: Get lon from lightning where ts appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080228 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, value, lon, type
Sensor: soil_moisture | fields: value, lat, unit, depth
Task: Retrieve level from wind_speed whose qc is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080229 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: ts, lat, level, reading
Sensor: drought_index | fields: qc, level, ts, lat
Task: Fetch depth from rainfall where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080230 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lat, reading, type, unit
Sensor: rainfall | fields: lat, depth, unit, value
Task: Retrieve lat from dew_point that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080231 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, value, qc, lon
Sensor: wind_speed | fields: ts, qc, level, lon
Task: Fetch value from soil_moisture that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080232 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: reading, level, lon, lat
Sensor: turbidity | fields: unit, reading, level, value
Task: Fetch lat from humidity that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080233 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: type, depth, value, lat
Sensor: temperature | fields: depth, unit, value, type
Task: Get lat from drought_index where depth exceeds the total value from temperature for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080234 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lat, type, lon, value
Sensor: sunlight | fields: qc, lon, level, ts
Task: Get level from lightning where value exceeds the total reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080235 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, level, reading, depth
Sensor: air_quality | fields: level, type, qc, unit
Task: Get lat from evaporation where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080236 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: unit, lat, level, lon
Sensor: sunlight | fields: ts, unit, lon, qc
Task: Retrieve depth from air_quality whose ts is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080237 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: unit, level, type, qc
Sensor: rainfall | fields: lon, value, type, qc
Task: Fetch lat from visibility that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080238 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, ts, reading, qc
Sensor: cloud_cover | fields: unit, lat, depth, qc
Task: Get lon from uv_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080239 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: type, reading, value, ts
Sensor: cloud_cover | fields: level, value, unit, lon
Task: Fetch value from visibility where depth is greater than the maximum of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080240 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, qc, depth, lon
Sensor: turbidity | fields: depth, type, ts, reading
Task: Retrieve reading from snow_depth with value above the MIN(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080241 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: unit, reading, level, qc
Sensor: drought_index | fields: unit, reading, qc, level
Task: Retrieve lon from pressure that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080242 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, reading, unit, type
Sensor: snow_depth | fields: lat, lon, ts, qc
Task: Get level from wind_speed where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080243 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lat, ts, qc, type
Sensor: rainfall | fields: type, ts, unit, level
Task: Fetch reading from evaporation where value is greater than the count of of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080244 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: level, unit, ts, qc
Sensor: frost | fields: lon, type, lat, ts
Task: Get depth from temperature where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080245 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lat, unit, type, lon
Sensor: drought_index | fields: level, lon, lat, unit
Task: Fetch lat from dew_point that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080246 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: unit, lat, reading, value
Sensor: snow_depth | fields: ts, value, qc, lat
Task: Get lat from visibility where depth exceeds the count of depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080247 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, value, ts, type
Sensor: evaporation | fields: lon, lat, qc, ts
Task: Retrieve depth from snow_depth that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080248 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: ts, reading, type, unit
Sensor: turbidity | fields: qc, reading, unit, depth
Task: Retrieve lon from sunlight that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080249 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, value, level, unit
Sensor: temperature | fields: type, value, ts, depth
Task: Fetch depth from snow_depth where value is greater than the total of value in temperature for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080250 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, lat, reading, lon
Sensor: visibility | fields: depth, unit, reading, qc
Task: Fetch lon from dew_point that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"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_080251 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: value, type, unit, ts
Sensor: dew_point | fields: unit, qc, lon, reading
Task: Fetch lon from visibility where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080252 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, unit, lon, type
Sensor: uv_index | fields: depth, lon, level, lat
Task: Fetch level from pressure where qc exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080253 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, qc, ts, lat
Sensor: snow_depth | fields: level, type, lat, value
Task: Get reading from humidity where unit appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080254 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, type, value, ts
Sensor: evaporation | fields: level, unit, value, lon
Task: Fetch reading from soil_moisture where depth exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080255 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, lon, value, depth
Sensor: sunlight | fields: unit, type, lon, value
Task: Retrieve level from soil_moisture with depth above the SUM(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080256 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, reading, level, depth
Sensor: humidity | fields: depth, type, value, lat
Task: Get lat from soil_moisture where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080257 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, ts, qc, depth
Sensor: evaporation | fields: qc, lon, type, level
Task: Get lat from sunlight where qc appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080258 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lon, lat, level, ts
Sensor: wind_speed | fields: ts, qc, lon, type
Task: Fetch depth from humidity that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080259 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: depth, reading, lat, type
Sensor: frost | fields: lon, depth, value, type
Task: Fetch level from temperature where value is greater than the maximum of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080260 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, reading, lat, unit
Sensor: temperature | fields: ts, reading, level, unit
Task: Get lon from dew_point where depth exceeds the maximum value from temperature for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080261 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: type, lat, ts, unit
Sensor: soil_moisture | fields: type, unit, level, lat
Task: Get lat from humidity where value exceeds the count of reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080262 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: level, lon, qc, value
Sensor: wind_speed | fields: lat, unit, level, value
Task: Retrieve depth from sunlight that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080263 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lat, qc, depth, level
Sensor: humidity | fields: level, ts, type, reading
Task: Get value from turbidity where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080264 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lon, depth, qc, reading
Sensor: humidity | fields: value, unit, lon, qc
Task: Get value from rainfall where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080265 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, depth, level, reading
Sensor: rainfall | fields: depth, type, value, reading
Task: Get value from wind_speed where value exceeds the maximum depth from rainfall for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080266 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: reading, value, ts, unit
Sensor: turbidity | fields: reading, level, value, ts
Task: Retrieve lat from temperature with value above the MAX(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080267 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: depth, unit, qc, lat
Sensor: lightning | fields: level, type, reading, unit
Task: Retrieve value from frost with depth above the SUM(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080268 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: reading, qc, lon, value
Sensor: uv_index | fields: depth, level, type, unit
Task: Fetch reading from frost where reading is greater than the maximum of value in uv_index for matching ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080269 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: unit, qc, value, level
Sensor: visibility | fields: unit, lon, value, depth
Task: Retrieve lon from evaporation with value above the COUNT(depth) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080270 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lon, level, lat, reading
Sensor: dew_point | fields: value, unit, lat, ts
Task: Retrieve lon from frost whose type is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080271 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: ts, value, depth, unit
Sensor: uv_index | fields: qc, value, lat, unit
Task: Retrieve reading from pressure whose qc is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080272 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, value, lat, level
Sensor: pressure | fields: value, lon, level, qc
Task: Retrieve value from soil_moisture with reading above the MAX(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080273 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lat, type, ts, depth
Sensor: wind_speed | fields: qc, lat, reading, unit
Task: Get level from sunlight where depth exceeds the minimum value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080274 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: unit, value, ts, lat
Sensor: rainfall | fields: type, qc, unit, reading
Task: Retrieve lat from frost that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080275 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: reading, lon, depth, unit
Sensor: uv_index | fields: type, depth, qc, lon
Task: Fetch reading from lightning that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080276 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, reading, type, depth
Sensor: wind_speed | fields: ts, lon, depth, lat
Task: Get level from soil_moisture where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080277 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: value, type, level, lat
Sensor: turbidity | fields: type, ts, qc, unit
Task: Retrieve lon from rainfall with value above the MAX(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080278 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, lat, level, type
Sensor: uv_index | fields: lat, level, type, qc
Task: Get depth from cloud_cover where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080279 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: ts, level, lat, depth
Sensor: snow_depth | fields: unit, level, reading, depth
Task: Retrieve value from dew_point that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080280 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, qc, level, unit
Sensor: dew_point | fields: depth, ts, value, type
Task: Fetch reading from soil_moisture that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080281 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: reading, level, lon, lat
Sensor: humidity | fields: ts, depth, unit, type
Task: Fetch depth from air_quality where depth is greater than the total of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080282 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, reading, unit, ts
Sensor: frost | fields: type, level, ts, depth
Task: Retrieve lat from soil_moisture that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080283 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, level, unit, reading
Sensor: humidity | fields: depth, level, qc, ts
Task: Retrieve depth from snow_depth whose depth is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080284 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: lat, unit, ts, level
Sensor: air_quality | fields: type, unit, depth, ts
Task: Fetch value from sunlight that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080285 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: value, ts, reading, qc
Sensor: drought_index | fields: reading, lon, depth, ts
Task: Retrieve lon from snow_depth with reading above the MIN(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080286 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: depth, type, unit, lon
Sensor: dew_point | fields: qc, value, lat, depth
Task: Retrieve depth from drought_index with reading above the COUNT(reading) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080287 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: level, qc, unit, lon
Sensor: sunlight | fields: ts, reading, unit, lon
Task: Fetch lon from humidity that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080288 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: type, level, lon, depth
Sensor: pressure | fields: qc, reading, value, lat
Task: Retrieve depth from visibility with value above the SUM(depth) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080289 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lon, value, lat, type
Sensor: turbidity | fields: depth, lat, ts, lon
Task: Get lon from evaporation where reading exceeds the minimum value from turbidity for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080290 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: unit, lon, qc, type
Sensor: pressure | fields: ts, depth, level, lat
Task: Retrieve level from lightning that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080291 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, ts, reading, type
Sensor: visibility | fields: lat, ts, qc, depth
Task: Fetch lon from cloud_cover where depth is greater than the count of of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080292 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: type, lon, ts, lat
Sensor: soil_moisture | fields: reading, ts, level, type
Task: Fetch value from drought_index that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080293 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, unit, level, lon
Sensor: air_quality | fields: qc, level, type, unit
Task: Retrieve depth from cloud_cover with depth above the MIN(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080294 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, unit, qc, value
Sensor: snow_depth | fields: qc, ts, depth, type
Task: Get level from uv_index where reading exceeds the count of value from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080295 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: reading, qc, value, unit
Sensor: sunlight | fields: lat, type, qc, depth
Task: Fetch reading from visibility where reading is greater than the average of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080296 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, depth, lat, qc
Sensor: pressure | fields: type, lon, unit, value
Task: Fetch lon from cloud_cover where depth is greater than the average of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080297 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, depth, reading, lat
Sensor: pressure | fields: unit, depth, ts, type
Task: Get lon from snow_depth where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080298 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lat, unit, type, qc
Sensor: cloud_cover | fields: unit, type, qc, value
Task: Get depth from uv_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.