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: soil_moisture | code: clr | fields: level, unit, ts, lon
Sensor: drought_index | fields: unit, level, type, depth
Task: Get value from soil_moisture where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002200 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, type, reading, lat
Sensor: temperature | fields: ts, qc, value, level
Task: Get level from soil_moisture where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002201 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, qc, depth, lon
Sensor: uv_index | fields: level, depth, qc, lon
Task: Get depth from rainfall where value exceeds the total depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002202 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: level, reading, qc, ts
Sensor: frost | fields: value, reading, ts, lat
Task: Retrieve level from wind_speed with reading above the COUNT(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002203 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, reading, unit, value
Sensor: wind_speed | fields: qc, level, value, lat
Task: Fetch lat from evaporation where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002204 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, reading, value, lon
Sensor: uv_index | fields: value, depth, lat, unit
Task: Get level from cloud_cover where depth appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002205 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: level, ts, unit, qc
Sensor: soil_moisture | fields: lon, depth, unit, type
Task: Retrieve level from uv_index that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002206 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: unit, lon, qc, reading
Sensor: snow_depth | fields: lat, type, unit, depth
Task: Retrieve level from visibility whose type is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002207 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, qc, type, lat
Sensor: air_quality | fields: type, qc, depth, lon
Task: Get value from lightning where depth exceeds the average reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002208 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, qc, lon, depth
Sensor: visibility | fields: depth, value, level, ts
Task: Fetch depth from cloud_cover that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002209 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: unit, ts, type, value
Sensor: pressure | fields: type, lon, level, ts
Task: Retrieve level from uv_index that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002210 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: lon, ts, depth, type
Sensor: soil_moisture | fields: reading, unit, level, lat
Task: Get value from evaporation where value exceeds the total depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002211 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lat, qc, type, reading
Sensor: cloud_cover | fields: lat, unit, depth, level
Task: Get level from sunlight where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002212 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: type, depth, qc, value
Sensor: cloud_cover | fields: lat, lon, type, unit
Task: Retrieve reading from pressure that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002213 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, value, lon, depth
Sensor: dew_point | fields: type, level, lat, value
Task: Get lat from humidity where type appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002214 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, value, lat, qc
Sensor: soil_moisture | fields: reading, lon, ts, lat
Task: Fetch lon from wind_speed that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002215 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: type, unit, qc, value
Sensor: drought_index | fields: ts, reading, level, lat
Task: Retrieve level from wind_speed that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002216 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: type, unit, level, depth
Sensor: sunlight | fields: qc, type, reading, level
Task: Fetch lon from lightning where value is greater than the maximum of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002217 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: ts, lon, qc, unit
Sensor: evaporation | fields: value, depth, level, unit
Task: Retrieve value from rainfall whose qc is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002218 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, lon, ts, level
Sensor: humidity | fields: value, qc, ts, reading
Task: Retrieve depth from uv_index that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002219 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: depth, value, type, unit
Sensor: dew_point | fields: unit, value, reading, depth
Task: Fetch depth from frost that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002220 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lon, level, ts, depth
Sensor: wind_speed | fields: type, ts, lon, value
Task: Fetch lon from lightning where ts exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002221 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: ts, lon, depth, value
Sensor: humidity | fields: ts, level, reading, qc
Task: Get lon from lightning where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002222 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: depth, lat, value, type
Sensor: frost | fields: reading, depth, lat, type
Task: Fetch lon from rainfall that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002223 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, qc, type, lon
Sensor: pressure | fields: reading, level, depth, value
Task: Retrieve lon from uv_index whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002224 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lat, value, reading, type
Sensor: lightning | fields: level, ts, unit, lon
Task: Get depth from air_quality where unit appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002225 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, ts, level, unit
Sensor: cloud_cover | fields: unit, lat, type, ts
Task: Fetch lon from wind_speed that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002226 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, qc, value, lon
Sensor: evaporation | fields: ts, lon, qc, reading
Task: Get lat from temperature where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002227 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: reading, qc, type, depth
Sensor: humidity | fields: unit, type, lon, value
Task: Retrieve depth from air_quality with value above the MAX(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002228 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, qc, unit, ts
Sensor: air_quality | fields: depth, ts, reading, unit
Task: Retrieve level from evaporation with reading above the MAX(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002229 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, type, qc, value
Sensor: snow_depth | fields: lon, value, lat, ts
Task: Retrieve level from cloud_cover with depth above the COUNT(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002230 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: qc, depth, lon, ts
Sensor: frost | fields: reading, type, value, depth
Task: Retrieve depth from rainfall that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002231 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: lon, lat, level, unit
Sensor: pressure | fields: ts, qc, depth, reading
Task: Fetch reading from sunlight where qc exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002232 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: level, unit, depth, value
Sensor: pressure | fields: ts, value, depth, unit
Task: Retrieve value from snow_depth whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002233 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, lon, level, value
Sensor: temperature | fields: type, qc, value, depth
Task: Get level from soil_moisture where qc appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002234 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: value, reading, ts, level
Sensor: soil_moisture | fields: value, ts, qc, level
Task: Get value from sunlight where depth exceeds the count of reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002235 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lat, ts, qc, value
Sensor: evaporation | fields: lon, value, ts, type
Task: Retrieve lon from temperature that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002236 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: type, qc, level, depth
Sensor: evaporation | fields: level, lon, qc, ts
Task: Retrieve value from humidity whose ts is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002237 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, reading, unit, lon
Sensor: wind_speed | fields: type, ts, level, unit
Task: Get depth from rainfall where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002238 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lon, level, type, reading
Sensor: humidity | fields: lon, unit, lat, type
Task: Retrieve level from lightning whose unit is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002239 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lon, level, type, reading
Sensor: sunlight | fields: level, value, qc, ts
Task: Retrieve lat from air_quality that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002240 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, lon, type, lat
Sensor: humidity | fields: ts, type, reading, level
Task: Fetch lat from soil_moisture where ts exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002241 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: level, type, unit, reading
Sensor: uv_index | fields: unit, reading, level, qc
Task: Fetch reading from sunlight where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002242 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: unit, depth, type, lat
Sensor: pressure | fields: type, unit, value, reading
Task: Get lon from frost where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002243 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lat, level, unit, reading
Sensor: turbidity | fields: lon, lat, type, qc
Task: Retrieve reading from humidity with reading above the MIN(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002244 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: value, unit, type, level
Sensor: humidity | fields: level, reading, qc, ts
Task: Retrieve lat from lightning whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002245 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, value, unit, lon
Sensor: turbidity | fields: reading, lat, qc, value
Task: Retrieve value from cloud_cover that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002246 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: level, ts, lon, lat
Sensor: snow_depth | fields: value, unit, level, depth
Task: Get value from humidity where value exceeds the minimum value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002247 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: value, qc, depth, type
Sensor: wind_speed | fields: unit, reading, lon, type
Task: Fetch level from temperature where depth is greater than the count of of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002248 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, qc, lat, value
Sensor: rainfall | fields: value, reading, level, lat
Task: Fetch level from soil_moisture where unit exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002249 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: unit, level, lat, value
Sensor: wind_speed | fields: depth, type, level, value
Task: Get lat from evaporation where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002250 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: type, reading, level, value
Sensor: wind_speed | fields: qc, value, lon, lat
Task: Fetch depth from air_quality where reading is greater than the minimum of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002251 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: depth, lat, level, qc
Sensor: turbidity | fields: reading, ts, qc, depth
Task: Retrieve depth from sunlight whose depth is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002252 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, qc, lon, level
Sensor: snow_depth | fields: lon, qc, level, depth
Task: Fetch lon from wind_speed where reading is greater than the average of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002253 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, value, type, level
Sensor: uv_index | fields: lat, qc, type, depth
Task: Get lon from pressure where depth exceeds the count of depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002254 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: value, type, lon, depth
Sensor: pressure | fields: type, reading, lat, qc
Task: Fetch depth from temperature where type exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002255 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, qc, level, unit
Sensor: soil_moisture | fields: type, depth, reading, ts
Task: Fetch level from snow_depth where value is greater than the count of of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002256 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: reading, ts, lon, qc
Sensor: rainfall | fields: qc, unit, depth, value
Task: Fetch lat from turbidity where value is greater than the minimum of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"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_002257 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, lon, value, level
Sensor: visibility | fields: type, value, unit, reading
Task: Fetch depth from wind_speed where value is greater than the minimum of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002258 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, reading, type, ts
Sensor: frost | fields: reading, ts, level, lat
Task: Fetch lon from air_quality where value is greater than the count of of value in frost for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002259 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, lat, ts, value
Sensor: drought_index | fields: level, ts, lat, reading
Task: Fetch depth from snow_depth where value is greater than the maximum of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002260 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: unit, value, type, qc
Sensor: visibility | fields: value, ts, lat, reading
Task: Fetch lon from air_quality where reading is greater than the maximum of reading in visibility for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002261 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, lat, value, depth
Sensor: visibility | fields: ts, reading, lon, unit
Task: Fetch value from lightning where qc exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002262 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, reading, ts, lon
Sensor: rainfall | fields: value, level, lat, depth
Task: Retrieve level from cloud_cover that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002263 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, lon, depth, ts
Sensor: sunlight | fields: lon, unit, level, lat
Task: Get level from wind_speed where qc appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002264 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, value, lat, reading
Sensor: air_quality | fields: qc, ts, value, lat
Task: Fetch reading from sunlight where reading is greater than the maximum of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002265 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: ts, unit, level, depth
Sensor: sunlight | fields: unit, qc, type, ts
Task: Fetch depth from rainfall where type exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002266 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, level, lat, qc
Sensor: rainfall | fields: value, lat, type, qc
Task: Get depth from uv_index where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002267 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, lat, level, depth
Sensor: snow_depth | fields: type, ts, lon, unit
Task: Get depth from drought_index where unit appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002268 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: ts, level, depth, qc
Sensor: soil_moisture | fields: reading, ts, depth, value
Task: Fetch lat from evaporation where ts exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002269 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, depth, value, lat
Sensor: uv_index | fields: reading, type, qc, ts
Task: Fetch reading from soil_moisture where depth is greater than the average of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002270 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: value, qc, unit, type
Sensor: snow_depth | fields: unit, value, qc, depth
Task: Get reading from air_quality where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002271 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lon, depth, ts, type
Sensor: drought_index | fields: type, reading, unit, depth
Task: Retrieve lat from turbidity with value above the MAX(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002272 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lon, unit, level, ts
Sensor: humidity | fields: level, reading, lon, lat
Task: Retrieve value from temperature whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002273 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: unit, qc, ts, type
Sensor: pressure | fields: reading, value, type, lat
Task: Retrieve reading from evaporation that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002274 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, qc, type, unit
Sensor: soil_moisture | fields: ts, type, depth, unit
Task: Get value from rainfall where depth exceeds the count of reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002275 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, reading, type, lon
Sensor: lightning | fields: qc, level, lon, reading
Task: Retrieve lat from cloud_cover that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002276 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, lon, qc, lat
Sensor: soil_moisture | fields: reading, qc, level, lat
Task: Get reading from snow_depth where unit appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002277 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: type, depth, reading, lat
Sensor: pressure | fields: lat, level, ts, value
Task: Fetch reading from uv_index where reading is greater than the total of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002278 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, value, reading, depth
Sensor: lightning | fields: depth, level, lat, type
Task: Retrieve lat from snow_depth that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"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_002279 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: ts, type, lat, reading
Sensor: humidity | fields: qc, lat, reading, value
Task: Retrieve level from frost that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002280 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: value, level, lon, unit
Sensor: turbidity | fields: qc, value, lon, reading
Task: Fetch lon from dew_point where type exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002281 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, unit, qc, depth
Sensor: drought_index | fields: value, lon, type, lat
Task: Fetch reading from pressure where reading is greater than the count of of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002282 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, depth, ts, lon
Sensor: uv_index | fields: type, level, unit, qc
Task: Fetch lon from cloud_cover that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002283 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: depth, ts, lon, reading
Sensor: cloud_cover | fields: qc, level, type, reading
Task: Fetch value from dew_point that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002284 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: unit, qc, lon, ts
Sensor: cloud_cover | fields: ts, qc, level, value
Task: Retrieve reading from dew_point whose type is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002285 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, depth, level, type
Sensor: uv_index | fields: lon, reading, level, type
Task: Fetch lon from snow_depth where unit exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002286 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, type, value, lon
Sensor: visibility | fields: unit, value, lat, depth
Task: Get lon from soil_moisture where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002287 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, qc, lon, lat
Sensor: uv_index | fields: level, qc, type, depth
Task: Fetch depth from snow_depth that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002288 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, depth, ts, lat
Sensor: humidity | fields: level, lat, depth, qc
Task: Get value from frost where value exceeds the average value from humidity for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002289 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: depth, ts, level, reading
Sensor: visibility | fields: reading, lat, level, value
Task: Fetch lon from frost where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002290 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: level, ts, depth, qc
Sensor: air_quality | fields: unit, lat, lon, qc
Task: Retrieve lat from turbidity whose qc is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002291 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, depth, type, qc
Sensor: dew_point | fields: qc, depth, ts, reading
Task: Get value from snow_depth where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002292 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: level, value, ts, lat
Sensor: soil_moisture | fields: value, lon, level, qc
Task: Get value from drought_index where unit appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002293 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: ts, lon, reading, lat
Sensor: rainfall | fields: lat, ts, lon, unit
Task: Fetch lat from lightning where depth exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002294 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, reading, qc, lat
Sensor: rainfall | fields: value, level, lon, ts
Task: Fetch lat from snow_depth where reading is greater than the average of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002295 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lon, type, level, ts
Sensor: evaporation | fields: level, ts, unit, lon
Task: Get reading from humidity where ts appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002296 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, qc, lat, reading
Sensor: drought_index | fields: type, ts, level, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002297 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, depth, ts, value
Sensor: evaporation | fields: depth, value, qc, lat
Task: Retrieve lon from visibility with reading above the MIN(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002298 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: lon, reading, type, ts
Sensor: lightning | fields: ts, value, reading, lon
Task: Retrieve lon from evaporation that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.