variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, level, lat, type
Sensor: snow_depth | fields: value, unit, type, ts
Task: Get lon from wind_speed where unit appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003600 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lat, reading, ts, type
Sensor: pressure | fields: depth, lon, lat, reading
Task: Get level from drought_index where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003601 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, unit, value, reading
Sensor: uv_index | fields: type, lat, lon, ts
Task: Get reading from soil_moisture where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003602 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, depth, unit, lon
Sensor: lightning | fields: lat, qc, level, depth
Task: Get lat from cloud_cover where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003603 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: type, unit, qc, depth
Sensor: cloud_cover | fields: qc, lat, lon, ts
Task: Get lat from air_quality where type appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003604 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, ts, lat, type
Sensor: humidity | fields: unit, lon, depth, value
Task: Fetch value from snow_depth where reading is greater than the count of of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003605 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lon, lat, depth, qc
Sensor: air_quality | fields: depth, level, reading, lon
Task: Fetch lon from visibility where depth is greater than the maximum of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003606 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lat, type, reading, qc
Sensor: cloud_cover | fields: level, reading, type, lon
Task: Retrieve lon from air_quality that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003607 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lon, reading, lat, depth
Sensor: frost | fields: depth, type, lat, ts
Task: Get lon from dew_point where depth exceeds the total reading from frost for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"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_003608 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, unit, lon, reading
Sensor: uv_index | fields: lat, ts, qc, level
Task: Fetch level from evaporation where qc exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003609 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: value, unit, reading, level
Sensor: frost | fields: qc, reading, lon, value
Task: Fetch depth from lightning where depth exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003610 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: qc, type, depth, value
Sensor: sunlight | fields: qc, lat, reading, ts
Task: Fetch level from humidity where value is greater than the minimum of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003611 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: ts, reading, value, level
Sensor: soil_moisture | fields: level, unit, reading, ts
Task: Retrieve level from temperature whose unit is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"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_003612 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: level, reading, type, value
Sensor: lightning | fields: unit, reading, type, lon
Task: Get lat from dew_point where reading exceeds the average depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003613 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, reading, level, lon
Sensor: frost | fields: type, lon, ts, unit
Task: Get reading from cloud_cover where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003614 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: reading, lon, depth, unit
Sensor: sunlight | fields: lat, reading, depth, ts
Task: Retrieve value from rainfall with value above the COUNT(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003615 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, unit, value, depth
Sensor: turbidity | fields: lat, lon, depth, qc
Task: Fetch value from lightning where value is greater than the count of of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003616 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, depth, level, qc
Sensor: wind_speed | fields: reading, lat, type, ts
Task: Retrieve reading from humidity with value above the MAX(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003617 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, ts, reading, qc
Sensor: wind_speed | fields: reading, lon, value, lat
Task: Fetch depth from evaporation that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003618 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, lat, ts, level
Sensor: air_quality | fields: reading, depth, level, type
Task: Retrieve value from soil_moisture whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003619 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: level, ts, lat, lon
Sensor: frost | fields: qc, value, depth, level
Task: Fetch depth from lightning where reading is greater than the minimum of value in frost for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
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": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003620 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: qc, lat, ts, unit
Sensor: frost | fields: lon, lat, unit, qc
Task: Fetch value from dew_point where unit exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003621 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, level, lon, type
Sensor: turbidity | fields: unit, ts, lon, lat
Task: Fetch depth from snow_depth where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003622 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, value, depth, lat
Sensor: humidity | fields: level, lat, unit, depth
Task: Fetch reading from soil_moisture where qc exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003623 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, lon, depth, unit
Sensor: snow_depth | fields: ts, qc, unit, type
Task: Fetch value from wind_speed where value is greater than the count of of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003624 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: qc, value, level, ts
Sensor: wind_speed | fields: value, reading, level, type
Task: Fetch level from evaporation where reading is greater than the average of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003625 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, qc, lat, ts
Sensor: humidity | fields: unit, level, depth, qc
Task: Get reading from pressure where depth exceeds the maximum depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003626 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: type, reading, lat, level
Sensor: uv_index | fields: value, lon, depth, qc
Task: Get lat from air_quality where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003627 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: unit, value, reading, level
Sensor: dew_point | fields: lon, depth, qc, value
Task: Fetch lon from pressure that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003628 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: ts, qc, level, reading
Sensor: snow_depth | fields: type, reading, level, qc
Task: Fetch lat from frost that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003629 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: depth, level, qc, lat
Sensor: drought_index | fields: unit, qc, type, ts
Task: Fetch level from evaporation where qc exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003630 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: type, level, lat, unit
Sensor: humidity | fields: reading, ts, type, qc
Task: Get reading from temperature where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003631 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: value, level, type, reading
Sensor: soil_moisture | fields: lat, lon, value, qc
Task: Retrieve value from drought_index whose unit is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003632 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: ts, depth, type, value
Sensor: pressure | fields: reading, ts, lat, level
Task: Get lon from evaporation where reading exceeds the maximum depth from pressure for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003633 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: type, ts, unit, lon
Sensor: soil_moisture | fields: qc, level, reading, type
Task: Get lon from visibility where depth exceeds the minimum depth from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003634 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: value, lon, unit, lat
Sensor: frost | fields: lat, type, ts, level
Task: Fetch value from rainfall that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003635 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, qc, reading, type
Sensor: air_quality | fields: ts, reading, lon, depth
Task: Retrieve depth from evaporation that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003636 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: qc, ts, depth, level
Sensor: temperature | fields: level, value, ts, reading
Task: Retrieve reading from pressure with value above the SUM(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003637 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, lat, reading, ts
Sensor: turbidity | fields: lon, value, unit, type
Task: Fetch lon from uv_index where qc exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003638 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: qc, level, ts, unit
Sensor: drought_index | fields: type, unit, level, lon
Task: Retrieve lon from frost with reading above the AVG(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003639 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, depth, unit, lat
Sensor: visibility | fields: depth, ts, lat, level
Task: Fetch level from cloud_cover that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003640 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: lon, unit, qc, depth
Sensor: temperature | fields: lon, type, ts, value
Task: Retrieve lon from pressure that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003641 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: reading, lon, value, depth
Sensor: rainfall | fields: lon, level, depth, unit
Task: Fetch value from evaporation that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003642 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: type, lat, level, ts
Sensor: cloud_cover | fields: ts, type, unit, reading
Task: Retrieve value from humidity whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003643 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, value, level, reading
Sensor: uv_index | fields: qc, depth, level, value
Task: Retrieve reading from cloud_cover with value above the MAX(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003644 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: value, depth, reading, unit
Sensor: humidity | fields: level, depth, value, type
Task: Get value from visibility where unit appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003645 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: value, lat, depth, unit
Sensor: cloud_cover | fields: lon, qc, unit, type
Task: Fetch value from sunlight where depth is greater than the maximum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003646 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lon, value, unit, qc
Sensor: snow_depth | fields: unit, lat, lon, level
Task: Retrieve value from dew_point whose depth is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003647 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: type, depth, unit, level
Sensor: frost | fields: ts, unit, reading, qc
Task: Get level from dew_point where type appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003648 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: reading, lon, ts, level
Sensor: snow_depth | fields: ts, type, unit, lat
Task: Get level from lightning where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003649 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, depth, type, lat
Sensor: pressure | fields: reading, ts, unit, value
Task: Fetch value from soil_moisture where qc exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003650 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: type, lon, depth, reading
Sensor: visibility | fields: value, unit, type, ts
Task: Retrieve value from uv_index whose type is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003651 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: unit, depth, qc, reading
Sensor: frost | fields: depth, value, reading, qc
Task: Retrieve value from humidity that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003652 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, value, lat, ts
Sensor: frost | fields: level, ts, lat, reading
Task: Get lon from sunlight where reading exceeds the total depth from frost for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003653 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: reading, value, lon, type
Sensor: pressure | fields: unit, qc, ts, type
Task: Get lat from sunlight where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003654 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: unit, lat, level, type
Sensor: uv_index | fields: qc, depth, type, level
Task: Fetch level from frost where unit exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003655 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, value, unit, lon
Sensor: lightning | fields: qc, ts, value, lat
Task: Get level from frost where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003656 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, depth, type, level
Sensor: drought_index | fields: depth, value, lon, unit
Task: Fetch level from soil_moisture where qc exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003657 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, value, unit, ts
Sensor: humidity | fields: type, reading, depth, value
Task: Fetch lon from soil_moisture where type exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003658 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: reading, qc, unit, ts
Sensor: humidity | fields: qc, lon, unit, level
Task: Retrieve reading from uv_index whose ts is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003659 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, type, reading, level
Sensor: snow_depth | fields: reading, qc, value, depth
Task: Retrieve value from soil_moisture with reading above the AVG(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003660 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: ts, qc, lat, type
Sensor: sunlight | fields: ts, reading, lon, type
Task: Retrieve depth from pressure with depth above the SUM(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003661 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: type, ts, lon, lat
Sensor: snow_depth | fields: lat, level, lon, qc
Task: Retrieve reading from visibility whose ts is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003662 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: reading, level, type, lat
Sensor: rainfall | fields: value, depth, lon, unit
Task: Retrieve value from humidity that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003663 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: value, unit, level, lon
Sensor: soil_moisture | fields: unit, depth, value, lon
Task: Get lat from snow_depth where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003664 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: ts, depth, value, qc
Sensor: pressure | fields: ts, depth, value, level
Task: Fetch value from drought_index where value is greater than the total of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003665 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, ts, reading, type
Sensor: air_quality | fields: lat, ts, qc, reading
Task: Retrieve depth from dew_point with reading above the COUNT(value) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003666 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: value, lon, qc, reading
Sensor: lightning | fields: lat, ts, qc, lon
Task: Fetch level from temperature where unit exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003667 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, ts, qc, depth
Sensor: pressure | fields: ts, qc, value, type
Task: Get value from snow_depth where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003668 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: level, type, value, lon
Sensor: frost | fields: lat, reading, ts, depth
Task: Get level from pressure where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003669 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, level, lat, qc
Sensor: dew_point | fields: value, qc, unit, depth
Task: Retrieve value from cloud_cover with depth above the AVG(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003670 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: reading, lon, unit, value
Sensor: frost | fields: value, lat, qc, depth
Task: Retrieve depth from dew_point that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003671 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: value, type, ts, level
Sensor: rainfall | fields: qc, ts, reading, level
Task: Fetch depth from humidity that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003672 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: level, lat, qc, lon
Sensor: pressure | fields: reading, level, lon, type
Task: Retrieve value from temperature with depth above the COUNT(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003673 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: qc, value, level, depth
Sensor: soil_moisture | fields: ts, value, type, lat
Task: Fetch lat from sunlight that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003674 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: value, ts, reading, level
Sensor: visibility | fields: type, lon, qc, unit
Task: Get depth from rainfall where reading exceeds the count of reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003675 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: type, reading, ts, lon
Sensor: dew_point | fields: depth, lat, type, qc
Task: Fetch value from snow_depth that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003676 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, lat, lon, depth
Sensor: wind_speed | fields: lon, ts, unit, reading
Task: Get reading from soil_moisture where reading exceeds the minimum depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003677 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, level, type, qc
Sensor: rainfall | fields: level, unit, ts, lon
Task: Fetch reading from wind_speed that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003678 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: value, reading, lat, depth
Sensor: lightning | fields: lat, unit, type, reading
Task: Get reading from turbidity where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003679 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, type, depth, reading
Sensor: visibility | fields: type, value, level, unit
Task: Get reading from cloud_cover where qc appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003680 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lon, value, depth, ts
Sensor: air_quality | fields: type, reading, depth, unit
Task: Get lon from dew_point where depth exceeds the average depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003681 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lon, ts, value, unit
Sensor: uv_index | fields: qc, level, type, ts
Task: Get reading from lightning where reading exceeds the total reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003682 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: level, lat, qc, type
Sensor: temperature | fields: depth, value, type, lat
Task: Fetch value from turbidity where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003683 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: value, unit, lon, level
Sensor: temperature | fields: unit, lon, level, ts
Task: Fetch depth from lightning that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"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_003684 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: depth, lat, unit, qc
Sensor: pressure | fields: unit, reading, qc, depth
Task: Retrieve level from dew_point with depth above the AVG(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003685 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lon, value, depth, lat
Sensor: snow_depth | fields: lat, depth, value, unit
Task: Retrieve lat from uv_index with reading above the COUNT(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003686 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: type, ts, unit, lat
Sensor: soil_moisture | fields: lon, qc, level, lat
Task: Fetch depth from snow_depth where value is greater than the count of of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003687 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: value, reading, qc, lat
Sensor: humidity | fields: qc, depth, reading, unit
Task: Fetch lat from dew_point where type exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003688 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: depth, level, qc, lon
Sensor: turbidity | fields: level, type, unit, lon
Task: Get lon from sunlight where depth exceeds the maximum reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003689 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lat, unit, level, reading
Sensor: visibility | fields: unit, value, lat, type
Task: Retrieve lat from humidity with value above the AVG(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003690 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, value, level, type
Sensor: humidity | fields: lat, unit, reading, lon
Task: Get reading from frost where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003691 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, level, lat, lon
Sensor: air_quality | fields: type, reading, lon, qc
Task: Retrieve lat from soil_moisture with depth above the MIN(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003692 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: value, reading, unit, level
Sensor: dew_point | fields: depth, unit, ts, reading
Task: Fetch reading from lightning where ts exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003693 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, type, lat, qc
Sensor: evaporation | fields: unit, lat, qc, type
Task: Retrieve reading from soil_moisture whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003694 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: depth, value, lat, type
Sensor: cloud_cover | fields: lon, lat, unit, qc
Task: Fetch reading from turbidity where value is greater than the total of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003695 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, unit, level, qc
Sensor: lightning | fields: lat, depth, ts, qc
Task: Get depth from pressure where reading exceeds the total depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003696 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lat, depth, reading, qc
Sensor: lightning | fields: ts, type, qc, reading
Task: Get lon from turbidity where depth exceeds the maximum value from lightning for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003697 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: unit, ts, level, reading
Sensor: air_quality | fields: lon, ts, depth, reading
Task: Get level from lightning where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003698 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: level, type, reading, lat
Sensor: uv_index | fields: lat, level, reading, unit
Task: Get level from visibility where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.