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: sunlight | code: stn | fields: lat, ts, type, value
Sensor: pressure | fields: depth, lat, value, level
Task: Retrieve lon from sunlight that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034600 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: unit, type, lon, ts
Sensor: visibility | fields: type, level, lon, qc
Task: Fetch lat from drought_index that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034601 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: type, depth, ts, level
Sensor: pressure | fields: level, type, value, unit
Task: Fetch level from visibility where type exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034602 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: type, unit, lon, value
Sensor: snow_depth | fields: depth, reading, value, lat
Task: Get lon from lightning where depth exceeds the minimum depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034603 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, unit, lon, type
Sensor: humidity | fields: unit, lat, lon, reading
Task: Retrieve level from temperature whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034604 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: unit, ts, level, lon
Sensor: dew_point | fields: ts, qc, depth, type
Task: Retrieve reading from uv_index that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034605 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, lat, depth, type
Sensor: lightning | fields: value, reading, lat, ts
Task: Fetch value from frost where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034606 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lon, lat, qc, ts
Sensor: frost | fields: ts, depth, value, lat
Task: Retrieve depth from lightning whose depth is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034607 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: value, depth, unit, type
Sensor: snow_depth | fields: qc, reading, unit, lon
Task: Get value from wind_speed where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034608 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: type, ts, level, qc
Sensor: rainfall | fields: value, type, ts, unit
Task: Retrieve value from turbidity with value above the MAX(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034609 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: value, type, unit, lon
Sensor: wind_speed | fields: value, reading, qc, unit
Task: Fetch depth from drought_index that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034610 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: ts, lon, level, depth
Sensor: uv_index | fields: lat, type, ts, lon
Task: Get reading from turbidity where value exceeds the minimum value from uv_index for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034611 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, level, qc, reading
Sensor: air_quality | fields: unit, lat, ts, depth
Task: Get lat from cloud_cover where reading exceeds the total value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034612 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, lon, level, ts
Sensor: drought_index | fields: level, depth, qc, lon
Task: Get depth from visibility where depth appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034613 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: lat, reading, value, qc
Sensor: turbidity | fields: type, qc, depth, reading
Task: Fetch reading from drought_index where value is greater than the average of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034614 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: depth, ts, value, lat
Sensor: visibility | fields: qc, lat, value, type
Task: Retrieve depth from dew_point whose type is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034615 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, level, ts, qc
Sensor: wind_speed | fields: unit, lat, lon, level
Task: Get lat from soil_moisture where reading exceeds the count of value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034616 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, type, qc, lat
Sensor: temperature | fields: depth, value, level, ts
Task: Get lon from soil_moisture where value exceeds the maximum reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034617 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, lon, lat, depth
Sensor: wind_speed | fields: level, depth, unit, lat
Task: Retrieve lon from snow_depth with reading above the MIN(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034618 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: ts, unit, qc, lat
Sensor: cloud_cover | fields: depth, ts, level, type
Task: Fetch lat from drought_index that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034619 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: level, lat, qc, value
Sensor: turbidity | fields: value, ts, level, unit
Task: Retrieve lon from snow_depth with reading above the MIN(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034620 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lon, unit, level, ts
Sensor: lightning | fields: lat, type, ts, unit
Task: Fetch value from temperature where depth exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034621 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, qc, depth, level
Sensor: temperature | fields: lat, type, value, level
Task: Fetch level from drought_index where qc exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034622 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: reading, unit, qc, depth
Sensor: turbidity | fields: ts, level, qc, lat
Task: Fetch lon from lightning where reading is greater than the count of of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034623 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: unit, value, level, lat
Sensor: snow_depth | fields: depth, lon, ts, unit
Task: Fetch value from turbidity where value is greater than the average of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034624 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: depth, value, qc, ts
Sensor: pressure | fields: qc, level, lat, ts
Task: Fetch depth from evaporation where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034625 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: unit, qc, reading, ts
Sensor: wind_speed | fields: type, level, qc, ts
Task: Get value from sunlight where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034626 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, lon, depth, unit
Sensor: temperature | fields: lat, depth, qc, unit
Task: Fetch depth from cloud_cover where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034627 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lon, type, unit, value
Sensor: sunlight | fields: level, value, lat, unit
Task: Retrieve lon from lightning whose ts is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034628 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, value, depth, reading
Sensor: frost | fields: lon, qc, reading, level
Task: Get depth from soil_moisture where ts appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034629 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, reading, lon, ts
Sensor: snow_depth | fields: type, level, qc, reading
Task: Get lon from soil_moisture where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034630 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, reading, type, lat
Sensor: lightning | fields: qc, value, unit, depth
Task: Fetch level from turbidity where depth is greater than the minimum of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034631 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lat, lon, reading, qc
Sensor: frost | fields: ts, depth, value, level
Task: Retrieve level from evaporation whose type is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034632 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: depth, qc, ts, reading
Sensor: air_quality | fields: reading, level, unit, ts
Task: Get level from humidity where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034633 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, lon, ts, value
Sensor: snow_depth | fields: value, lon, lat, type
Task: Retrieve lon from visibility that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034634 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: ts, level, qc, unit
Sensor: snow_depth | fields: lat, level, qc, reading
Task: Get reading from evaporation where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034635 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, type, qc, lon
Sensor: dew_point | fields: unit, lon, type, depth
Task: Fetch depth from pressure that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034636 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, type, qc, lat
Sensor: rainfall | fields: unit, lon, depth, type
Task: Fetch depth from soil_moisture where unit exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034637 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, ts, depth, level
Sensor: visibility | fields: lon, type, lat, reading
Task: Fetch level from soil_moisture that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034638 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: value, depth, lat, type
Sensor: pressure | fields: lon, reading, level, unit
Task: Get reading from frost where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034639 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: depth, reading, unit, qc
Sensor: frost | fields: type, value, reading, lon
Task: Fetch depth from dew_point that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"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_034640 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: lat, qc, depth, lon
Sensor: soil_moisture | fields: lon, qc, lat, value
Task: Get reading from dew_point where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034641 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: ts, type, lat, lon
Sensor: uv_index | fields: unit, ts, type, lon
Task: Fetch value from rainfall where reading is greater than the average of value in uv_index for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034642 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lon, ts, lat, level
Sensor: sunlight | fields: type, level, lat, unit
Task: Retrieve depth from rainfall with value above the MAX(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034643 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: unit, ts, value, lat
Sensor: pressure | fields: lon, unit, ts, value
Task: Retrieve depth from sunlight with depth above the AVG(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034644 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: qc, lat, type, ts
Sensor: turbidity | fields: value, unit, qc, type
Task: Retrieve level from pressure that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034645 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, reading, lon, lat
Sensor: lightning | fields: level, reading, lat, unit
Task: Retrieve value from visibility with depth above the SUM(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034646 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, type, ts, unit
Sensor: wind_speed | fields: unit, value, level, lat
Task: Fetch depth from dew_point where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034647 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, lat, type, unit
Sensor: drought_index | fields: type, ts, reading, qc
Task: Get value from wind_speed where unit appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034648 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: reading, type, unit, value
Sensor: turbidity | fields: unit, type, ts, depth
Task: Fetch depth from lightning that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034649 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lon, ts, depth, reading
Sensor: uv_index | fields: lat, ts, unit, qc
Task: Retrieve depth from humidity with value above the COUNT(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034650 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lat, level, value, type
Sensor: dew_point | fields: value, type, ts, level
Task: Retrieve lat from turbidity with reading above the MIN(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034651 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, level, qc, depth
Sensor: drought_index | fields: type, value, level, qc
Task: Retrieve value from wind_speed with depth above the COUNT(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034652 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, reading, depth, value
Sensor: soil_moisture | fields: reading, lon, level, value
Task: Fetch lat from cloud_cover where qc exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034653 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, qc, unit, ts
Sensor: humidity | fields: depth, ts, lat, reading
Task: Fetch lat from evaporation where depth is greater than the total of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034654 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, value, qc, reading
Sensor: pressure | fields: lat, level, type, qc
Task: Fetch value from soil_moisture where qc exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034655 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lon, ts, level, unit
Sensor: turbidity | fields: value, lat, unit, depth
Task: Fetch depth from lightning that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034656 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, lat, type, value
Sensor: rainfall | fields: type, lon, qc, level
Task: Retrieve value from dew_point that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034657 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: reading, value, qc, level
Sensor: dew_point | fields: value, depth, ts, lon
Task: Get reading from drought_index where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034658 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, type, value, lon
Sensor: lightning | fields: type, ts, reading, qc
Task: Get reading from cloud_cover where depth appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034659 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, type, level, qc
Sensor: uv_index | fields: ts, value, qc, lat
Task: Retrieve depth from sunlight whose unit is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034660 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: ts, qc, lat, depth
Sensor: humidity | fields: ts, lon, level, type
Task: Fetch lat from visibility where depth is greater than the minimum of value in humidity for matching type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034661 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, unit, lat, depth
Sensor: dew_point | fields: lat, reading, lon, level
Task: Retrieve value from cloud_cover that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034662 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, lon, ts, qc
Sensor: evaporation | fields: value, lat, level, type
Task: Retrieve value from pressure with value above the MIN(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034663 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, ts, value, lat
Sensor: pressure | fields: qc, lat, level, unit
Task: Get value from evaporation where depth exceeds the maximum reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034664 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, value, level, ts
Sensor: drought_index | fields: reading, value, ts, lon
Task: Get reading from wind_speed where depth appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034665 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, type, depth, level
Sensor: uv_index | fields: level, value, depth, lat
Task: Retrieve reading from snow_depth that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034666 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, level, unit, value
Sensor: pressure | fields: ts, depth, reading, level
Task: Retrieve depth from cloud_cover that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034667 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lat, ts, reading, type
Sensor: air_quality | fields: type, lat, depth, qc
Task: Retrieve level from drought_index with reading above the MIN(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034668 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lat, level, lon, ts
Sensor: wind_speed | fields: value, lon, unit, ts
Task: Fetch lat from turbidity where ts exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034669 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: reading, depth, lon, level
Sensor: dew_point | fields: ts, qc, depth, reading
Task: Retrieve level from drought_index that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034670 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lon, ts, reading, depth
Sensor: visibility | fields: unit, value, ts, qc
Task: Retrieve depth from dew_point with value above the AVG(reading) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034671 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lat, qc, value, unit
Sensor: rainfall | fields: type, ts, level, unit
Task: Get lon from air_quality where depth appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034672 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: reading, value, unit, level
Sensor: snow_depth | fields: ts, qc, unit, value
Task: Retrieve level from turbidity whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034673 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: value, reading, level, ts
Sensor: pressure | fields: qc, value, type, depth
Task: Fetch lon from lightning that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034674 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, type, qc, depth
Sensor: cloud_cover | fields: unit, level, ts, type
Task: Fetch reading from soil_moisture where reading is greater than the maximum of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034675 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, ts, level, lat
Sensor: dew_point | fields: lat, lon, ts, value
Task: Retrieve depth from soil_moisture whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034676 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: unit, lat, lon, value
Sensor: snow_depth | fields: reading, lat, value, qc
Task: Get lon from evaporation where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034677 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: value, depth, type, lat
Sensor: rainfall | fields: type, unit, qc, ts
Task: Fetch value from visibility where ts exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034678 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: qc, unit, lon, level
Sensor: evaporation | fields: unit, ts, depth, lon
Task: Fetch lat from pressure where value is greater than the total of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034679 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: depth, ts, value, reading
Sensor: sunlight | fields: lat, lon, reading, qc
Task: Fetch lon from pressure where type exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034680 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: level, lon, qc, type
Sensor: sunlight | fields: ts, type, value, level
Task: Retrieve lon from humidity whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034681 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: value, level, lat, type
Sensor: evaporation | fields: type, lon, value, depth
Task: Get level from pressure where value exceeds the minimum reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034682 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, value, level, lat
Sensor: snow_depth | fields: lat, qc, reading, level
Task: Retrieve reading from drought_index whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034683 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: type, value, depth, reading
Sensor: rainfall | fields: type, unit, ts, lat
Task: Get lon from snow_depth where type appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034684 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: unit, ts, value, level
Sensor: pressure | fields: unit, value, level, depth
Task: Retrieve level from dew_point whose unit is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034685 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: qc, depth, lon, lat
Sensor: soil_moisture | fields: lon, lat, value, reading
Task: Get level from pressure where unit appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034686 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, value, ts, type
Sensor: soil_moisture | fields: type, depth, ts, lon
Task: Fetch level from snow_depth where ts exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034687 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, qc, lat, lon
Sensor: pressure | fields: ts, lon, value, unit
Task: Get reading from uv_index where depth appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034688 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, lon, lat, depth
Sensor: dew_point | fields: reading, qc, value, depth
Task: Fetch lon from pressure where depth is greater than the count of of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"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_034689 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lat, reading, qc, ts
Sensor: drought_index | fields: lat, lon, depth, type
Task: Get reading from visibility where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034690 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: lat, ts, qc, reading
Sensor: cloud_cover | fields: level, qc, depth, reading
Task: Fetch value from sunlight where type exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034691 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lon, lat, reading, unit
Sensor: visibility | fields: reading, ts, qc, unit
Task: Fetch depth from temperature that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034692 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, value, depth, reading
Sensor: uv_index | fields: unit, lon, reading, value
Task: Retrieve lon from snow_depth with value above the AVG(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034693 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, value, depth, type
Sensor: frost | fields: reading, depth, lat, unit
Task: Get level from wind_speed where depth exceeds the average reading from frost for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034694 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, unit, reading, value
Sensor: lightning | fields: ts, reading, value, depth
Task: Get value from cloud_cover where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034695 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: value, unit, level, ts
Sensor: lightning | fields: depth, value, lat, ts
Task: Fetch value from air_quality that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034696 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, lat, unit, type
Sensor: dew_point | fields: qc, reading, depth, level
Task: Get reading from lightning where type appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034697 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: reading, lon, lat, unit
Sensor: frost | fields: type, value, depth, reading
Task: Fetch level from uv_index where value is greater than the maximum of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034698 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, unit, qc, value
Sensor: uv_index | fields: reading, value, lon, lat
Task: Fetch reading from humidity where unit exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.