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: snow_depth | code: hub | fields: depth, lat, type, unit
Sensor: dew_point | fields: type, lon, reading, level
Task: Fetch depth from snow_depth that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075600 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, type, qc, level
Sensor: humidity | fields: qc, lon, type, reading
Task: Fetch reading from cloud_cover where type exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075601 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: qc, unit, reading, value
Sensor: frost | fields: reading, level, depth, lat
Task: Fetch depth from humidity where ts exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075602 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lon, depth, type, ts
Sensor: cloud_cover | fields: level, lat, unit, lon
Task: Get lon from rainfall where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075603 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, value, qc, lat
Sensor: temperature | fields: level, reading, ts, qc
Task: Retrieve depth from drought_index that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075604 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: qc, unit, ts, reading
Sensor: snow_depth | fields: lat, type, reading, ts
Task: Get lat from air_quality where depth exceeds the count of depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075605 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, type, lon, ts
Sensor: wind_speed | fields: reading, level, qc, lat
Task: Fetch lon from pressure where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075606 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, reading, lat, type
Sensor: dew_point | fields: level, qc, lat, reading
Task: Fetch lat from soil_moisture where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075607 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, lon, reading, depth
Sensor: pressure | fields: ts, lat, value, level
Task: Get lon from drought_index where value exceeds the count of value from pressure for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075608 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, reading, level, ts
Sensor: uv_index | fields: ts, value, level, lon
Task: Get value from rainfall where depth exceeds the maximum reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075609 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, depth, level, qc
Sensor: air_quality | fields: type, ts, depth, value
Task: Fetch lon from turbidity that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075610 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: depth, lon, unit, level
Sensor: frost | fields: value, lon, level, ts
Task: Get level from uv_index where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075611 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, level, qc, lon
Sensor: soil_moisture | fields: type, value, lon, lat
Task: Get value from sunlight where reading exceeds the total value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075612 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: level, lon, qc, unit
Sensor: humidity | fields: ts, lon, value, depth
Task: Fetch reading from wind_speed where value is greater than the average of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075613 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: type, ts, lon, lat
Sensor: sunlight | fields: value, qc, type, lat
Task: Get reading from snow_depth where depth exceeds the total reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075614 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, ts, lon, unit
Sensor: temperature | fields: value, depth, ts, lat
Task: Get value from wind_speed where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075615 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lon, ts, depth, level
Sensor: humidity | fields: qc, ts, depth, value
Task: Get level from air_quality where depth appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075616 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, value, qc, depth
Sensor: uv_index | fields: value, ts, qc, unit
Task: Get value from lightning where value exceeds the total value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075617 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: ts, type, qc, depth
Sensor: turbidity | fields: ts, qc, unit, lat
Task: Retrieve lon from temperature whose depth is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075618 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, value, type, ts
Sensor: temperature | fields: lat, depth, value, type
Task: Fetch depth from humidity that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075619 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, level, ts, type
Sensor: uv_index | fields: unit, depth, lon, qc
Task: Fetch depth from wind_speed where unit exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075620 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, type, lat, qc
Sensor: snow_depth | fields: depth, level, reading, ts
Task: Get depth from dew_point where unit appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075621 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lat, value, unit, depth
Sensor: humidity | fields: lat, depth, unit, type
Task: Fetch lat from rainfall where depth exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075622 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: value, lat, depth, qc
Sensor: uv_index | fields: qc, lat, lon, value
Task: Retrieve lon from humidity that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075623 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: unit, lat, reading, depth
Sensor: lightning | fields: lon, qc, level, lat
Task: Retrieve level from rainfall with depth above the COUNT(value) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075624 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: type, reading, lat, level
Sensor: wind_speed | fields: ts, value, level, lat
Task: Retrieve value from turbidity that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075625 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lon, value, ts, unit
Sensor: drought_index | fields: depth, value, ts, qc
Task: Fetch lon from sunlight where value is greater than the maximum of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075626 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, depth, reading, qc
Sensor: lightning | fields: ts, lat, qc, value
Task: Retrieve value from cloud_cover whose qc is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075627 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, unit, ts, level
Sensor: humidity | fields: type, lon, ts, lat
Task: Get depth from cloud_cover where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075628 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: qc, type, lon, lat
Sensor: air_quality | fields: unit, type, value, lon
Task: Retrieve reading from lightning that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075629 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, ts, reading, level
Sensor: lightning | fields: level, depth, type, unit
Task: Fetch depth from wind_speed that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075630 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: value, reading, unit, level
Sensor: visibility | fields: ts, qc, reading, type
Task: Get lat from rainfall where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"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_075631 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, depth, type, value
Sensor: lightning | fields: unit, type, qc, reading
Task: Retrieve lon from snow_depth with value above the AVG(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075632 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, reading, depth, ts
Sensor: pressure | fields: depth, lon, level, type
Task: Retrieve value from lightning that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075633 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lon, level, depth, value
Sensor: drought_index | fields: unit, value, qc, type
Task: Fetch value from lightning where type exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075634 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: reading, qc, unit, level
Sensor: temperature | fields: lat, qc, ts, lon
Task: Retrieve depth from humidity with reading above the SUM(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075635 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: value, type, reading, lon
Sensor: rainfall | fields: type, qc, reading, ts
Task: Get depth from air_quality where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075636 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: unit, type, value, level
Sensor: air_quality | fields: reading, unit, level, qc
Task: Fetch depth from turbidity that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075637 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: depth, qc, reading, level
Sensor: drought_index | fields: ts, reading, lat, qc
Task: Retrieve reading from humidity that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075638 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, type, value, unit
Sensor: frost | fields: unit, ts, reading, depth
Task: Retrieve lon from rainfall that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075639 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, type, level, ts
Sensor: wind_speed | fields: qc, unit, type, level
Task: Fetch value from rainfall where depth exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075640 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: reading, unit, ts, lon
Sensor: lightning | fields: lat, ts, reading, level
Task: Retrieve reading from frost whose depth is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"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_075641 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: lat, unit, reading, depth
Sensor: cloud_cover | fields: lat, reading, ts, qc
Task: Retrieve depth from lightning that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075642 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, level, ts, lon
Sensor: dew_point | fields: ts, value, level, reading
Task: Get level from visibility where depth appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075643 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: depth, ts, unit, lat
Sensor: soil_moisture | fields: depth, qc, lon, unit
Task: Fetch lon from drought_index that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075644 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, lat, unit, depth
Sensor: evaporation | fields: type, qc, lat, value
Task: Fetch depth from wind_speed where reading is greater than the minimum of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075645 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: ts, lat, reading, qc
Sensor: dew_point | fields: level, value, ts, type
Task: Retrieve level from lightning that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075646 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lon, ts, type, qc
Sensor: air_quality | fields: level, value, ts, reading
Task: Retrieve lon from uv_index that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075647 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, reading, value, level
Sensor: cloud_cover | fields: reading, level, unit, lat
Task: Get lon from air_quality where depth appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075648 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, level, type, lat
Sensor: rainfall | fields: unit, type, reading, lon
Task: Fetch reading from snow_depth where unit exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075649 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: qc, unit, type, depth
Sensor: frost | fields: level, lon, ts, reading
Task: Fetch level from sunlight that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075650 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, lat, ts, qc
Sensor: frost | fields: value, reading, lon, unit
Task: Retrieve value from snow_depth that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075651 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, lat, lon, qc
Sensor: frost | fields: type, ts, lon, unit
Task: Fetch lat from humidity where value is greater than the minimum of reading in frost for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075652 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, reading, lat, lon
Sensor: uv_index | fields: value, unit, lon, type
Task: Fetch depth from cloud_cover where type exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075653 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: level, depth, lon, unit
Sensor: visibility | fields: depth, unit, type, lat
Task: Fetch depth from evaporation where reading is greater than the average of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075654 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, unit, type, depth
Sensor: visibility | fields: lat, level, ts, reading
Task: Fetch lon from soil_moisture where value is greater than the total of depth in visibility for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075655 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: type, lat, lon, qc
Sensor: snow_depth | fields: level, ts, value, lon
Task: Retrieve lon from turbidity whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075656 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, depth, ts, level
Sensor: evaporation | fields: type, reading, level, ts
Task: Retrieve lon from wind_speed that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075657 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lat, ts, reading, depth
Sensor: cloud_cover | fields: lat, value, level, type
Task: Get level from air_quality where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075658 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, reading, unit, value
Sensor: frost | fields: level, lon, ts, lat
Task: Fetch lon from snow_depth where depth is greater than the total of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075659 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: value, qc, type, reading
Sensor: lightning | fields: level, value, lat, ts
Task: Fetch lon from dew_point where value is greater than the minimum of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075660 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, depth, type, level
Sensor: pressure | fields: value, unit, lat, level
Task: Get lat from cloud_cover where depth exceeds the minimum depth from pressure for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075661 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: level, reading, unit, qc
Sensor: drought_index | fields: depth, type, ts, reading
Task: Fetch value from humidity where unit exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075662 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, qc, depth, reading
Sensor: snow_depth | fields: ts, lon, qc, reading
Task: Fetch value from visibility that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075663 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lat, qc, reading, lon
Sensor: turbidity | fields: lon, unit, value, lat
Task: Fetch value from uv_index that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075664 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: qc, type, depth, lon
Sensor: turbidity | fields: unit, value, type, ts
Task: Get reading from temperature where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075665 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: depth, qc, ts, reading
Sensor: turbidity | fields: unit, reading, lon, depth
Task: Get lat from rainfall where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075666 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, depth, reading, lon
Sensor: cloud_cover | fields: depth, lat, lon, ts
Task: Fetch depth from rainfall where value is greater than the maximum of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075667 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, reading, type, unit
Sensor: lightning | fields: type, lon, level, lat
Task: Get reading from wind_speed where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075668 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, lat, lon, reading
Sensor: visibility | fields: ts, type, depth, qc
Task: Fetch level from cloud_cover that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075669 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, reading, unit, depth
Sensor: temperature | fields: depth, type, lon, value
Task: Get lon from sunlight where unit appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075670 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: value, level, type, lon
Sensor: snow_depth | fields: lat, reading, value, lon
Task: Fetch depth from air_quality where value is greater than the maximum of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075671 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: value, qc, ts, type
Sensor: humidity | fields: reading, ts, type, value
Task: Retrieve value from air_quality whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075672 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, reading, type, qc
Sensor: soil_moisture | fields: level, qc, ts, lon
Task: Get level from frost where depth appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075673 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: level, qc, depth, unit
Sensor: sunlight | fields: reading, unit, level, ts
Task: Get lon from uv_index where depth exceeds the minimum reading from sunlight for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075674 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: reading, lat, qc, depth
Sensor: pressure | fields: type, reading, ts, value
Task: Get depth from sunlight where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075675 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, unit, level, lat
Sensor: wind_speed | fields: level, depth, lat, lon
Task: Retrieve lon from soil_moisture that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075676 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: unit, lat, value, depth
Sensor: dew_point | fields: qc, reading, value, type
Task: Get depth from visibility where value exceeds the count of depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075677 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, unit, ts, lon
Sensor: visibility | fields: unit, lat, depth, ts
Task: Retrieve lat from cloud_cover with reading above the AVG(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075678 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, reading, value, lat
Sensor: turbidity | fields: lon, ts, unit, reading
Task: Get lat from snow_depth where reading exceeds the count of value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075679 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: qc, unit, lat, value
Sensor: temperature | fields: reading, depth, value, lon
Task: Get lat from turbidity where depth exceeds the average value from temperature for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075680 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: level, value, reading, type
Sensor: snow_depth | fields: ts, unit, depth, reading
Task: Get level from evaporation where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075681 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: qc, ts, level, value
Sensor: pressure | fields: value, level, lon, unit
Task: Fetch lat from drought_index where qc exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075682 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: depth, unit, reading, qc
Sensor: pressure | fields: qc, lon, type, reading
Task: Get depth from sunlight where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075683 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: qc, type, reading, ts
Sensor: turbidity | fields: reading, lat, level, lon
Task: Fetch lat from temperature that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075684 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: value, type, ts, depth
Sensor: drought_index | fields: qc, lon, unit, lat
Task: Retrieve level from visibility with value above the MAX(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075685 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, depth, lat, qc
Sensor: evaporation | fields: reading, lon, type, unit
Task: Fetch lat from cloud_cover that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075686 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: type, ts, reading, level
Sensor: visibility | fields: lon, qc, unit, value
Task: Get depth from humidity where unit appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075687 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: type, lon, level, qc
Sensor: rainfall | fields: qc, type, lat, lon
Task: Get lon from turbidity where qc appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075688 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: value, ts, qc, unit
Sensor: uv_index | fields: unit, lon, reading, level
Task: Retrieve depth from visibility that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"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_075689 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: depth, type, lon, value
Sensor: wind_speed | fields: depth, qc, lat, level
Task: Get reading from frost where depth appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075690 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: value, type, qc, level
Sensor: drought_index | fields: value, ts, qc, lat
Task: Get lon from evaporation where reading exceeds the count of reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075691 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: value, depth, level, lat
Sensor: drought_index | fields: ts, reading, type, unit
Task: Retrieve lon from pressure whose qc is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075692 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: value, lon, level, lat
Sensor: evaporation | fields: unit, qc, lat, reading
Task: Get depth from uv_index where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075693 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: qc, type, lat, depth
Sensor: visibility | fields: ts, lat, qc, lon
Task: Fetch reading from turbidity that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075694 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, ts, unit, reading
Sensor: visibility | fields: reading, type, qc, lon
Task: Fetch lat from frost where qc exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075695 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, lat, ts, qc
Sensor: dew_point | fields: level, reading, qc, ts
Task: Retrieve level from cloud_cover that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075696 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: type, lat, unit, level
Sensor: visibility | fields: value, reading, unit, depth
Task: Fetch reading from uv_index where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075697 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: value, qc, lat, type
Sensor: evaporation | fields: depth, value, type, ts
Task: Retrieve reading from snow_depth that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075698 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: qc, unit, depth, reading
Sensor: drought_index | fields: lat, ts, reading, qc
Task: Retrieve depth from dew_point with value above the MAX(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.