variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: level, value, unit, depth
Sensor: humidity | fields: level, lon, reading, lat
Task: Retrieve value from snow_depth with depth above the COUNT(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033700 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lat, level, reading, unit
Sensor: sunlight | fields: lat, value, qc, reading
Task: Get depth from lightning where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033701 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: unit, lat, lon, qc
Sensor: cloud_cover | fields: type, qc, ts, value
Task: Get lon from visibility where value exceeds the count of value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033702 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: ts, unit, value, lat
Sensor: temperature | fields: unit, type, value, lon
Task: Fetch reading from dew_point that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033703 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, unit, ts, type
Sensor: cloud_cover | fields: type, lon, depth, lat
Task: Retrieve reading from rainfall with reading above the SUM(value) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033704 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, ts, lon, type
Sensor: temperature | fields: depth, reading, lat, qc
Task: Get level from turbidity where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033705 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: level, depth, unit, value
Sensor: snow_depth | fields: reading, qc, value, ts
Task: Fetch reading from turbidity that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033706 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, reading, level, unit
Sensor: frost | fields: value, level, reading, type
Task: Retrieve value from cloud_cover with depth above the MAX(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033707 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, lat, lon, level
Sensor: cloud_cover | fields: type, value, level, depth
Task: Retrieve value from evaporation whose type is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033708 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, lat, lon, level
Sensor: frost | fields: lon, value, reading, depth
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="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033709 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, lon, depth, value
Sensor: cloud_cover | fields: lat, unit, value, reading
Task: Get lon from wind_speed where depth exceeds the total reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033710 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: type, value, ts, level
Sensor: humidity | fields: lat, unit, reading, level
Task: Get value from frost where unit appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033711 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, value, lon, reading
Sensor: soil_moisture | fields: unit, lon, depth, qc
Task: Fetch value from snow_depth where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033712 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, type, qc, unit
Sensor: cloud_cover | fields: depth, reading, qc, value
Task: Get lat from temperature where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033713 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, qc, value, ts
Sensor: lightning | fields: unit, depth, ts, level
Task: Retrieve reading from humidity whose depth is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033714 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: level, type, ts, qc
Sensor: dew_point | fields: reading, lon, value, ts
Task: Get depth from frost where value exceeds the total depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033715 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, depth, lon, qc
Sensor: temperature | fields: lon, level, value, qc
Task: Fetch depth from drought_index where unit exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033716 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, ts, type, level
Sensor: snow_depth | fields: level, lat, value, qc
Task: Retrieve reading from soil_moisture that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033717 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: depth, unit, qc, type
Sensor: humidity | fields: qc, depth, type, lat
Task: Get lon from sunlight where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033718 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: reading, value, qc, lon
Sensor: cloud_cover | fields: ts, depth, reading, level
Task: Fetch value from rainfall where ts exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033719 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: qc, reading, depth, type
Sensor: frost | fields: lon, reading, unit, type
Task: Retrieve reading from uv_index with value above the MIN(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033720 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: ts, level, unit, qc
Sensor: cloud_cover | fields: type, level, lat, depth
Task: Get lat from turbidity where depth exceeds the average depth from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033721 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: level, qc, ts, reading
Sensor: drought_index | fields: qc, level, reading, lat
Task: Get reading from wind_speed where ts appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033722 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: value, depth, type, unit
Sensor: wind_speed | fields: lat, level, ts, value
Task: Retrieve level from snow_depth whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033723 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: unit, depth, qc, lon
Sensor: evaporation | fields: reading, depth, lat, value
Task: Get depth from turbidity where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033724 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: unit, reading, lat, ts
Sensor: visibility | fields: depth, type, value, qc
Task: Fetch lon from pressure where type exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033725 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lat, lon, ts, level
Sensor: wind_speed | fields: reading, ts, depth, lon
Task: Fetch lon from temperature where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033726 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, unit, type, lon
Sensor: sunlight | fields: value, level, type, lon
Task: Get reading from drought_index where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033727 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, value, type, ts
Sensor: frost | fields: value, unit, depth, lon
Task: Get value from drought_index where reading exceeds the average value from frost for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033728 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, reading, qc, unit
Sensor: frost | fields: type, qc, unit, depth
Task: Retrieve depth from cloud_cover that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033729 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, type, unit, lat
Sensor: turbidity | fields: value, lat, lon, type
Task: Get level from cloud_cover where qc appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033730 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: qc, ts, lon, lat
Sensor: dew_point | fields: qc, ts, value, depth
Task: Fetch lat from temperature where depth is greater than the average of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033731 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, qc, level, reading
Sensor: humidity | fields: level, reading, value, lat
Task: Fetch lon from drought_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033732 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: type, qc, lat, depth
Sensor: wind_speed | fields: reading, lat, type, lon
Task: Get depth from snow_depth where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"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_033733 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: depth, reading, ts, lat
Sensor: temperature | fields: level, lon, reading, type
Task: Get level from uv_index where depth exceeds the maximum depth from temperature for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033734 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, unit, depth, lat
Sensor: air_quality | fields: value, depth, ts, lon
Task: Fetch value from pressure that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033735 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: depth, lon, unit, lat
Sensor: cloud_cover | fields: type, value, lon, lat
Task: Get depth from temperature where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033736 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: ts, type, lon, qc
Sensor: drought_index | fields: reading, qc, ts, level
Task: Fetch lat from evaporation that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033737 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: type, qc, lon, ts
Sensor: soil_moisture | fields: reading, lat, depth, value
Task: Retrieve reading from rainfall with reading above the MAX(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033738 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lat, qc, reading, ts
Sensor: humidity | fields: level, lat, type, depth
Task: Retrieve depth from frost with value above the COUNT(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033739 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: value, unit, lat, ts
Sensor: rainfall | fields: reading, qc, value, depth
Task: Get value from evaporation where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033740 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: qc, ts, reading, value
Sensor: uv_index | fields: type, qc, depth, ts
Task: Retrieve lon from dew_point whose type is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033741 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: ts, lat, type, level
Sensor: uv_index | fields: level, lon, depth, type
Task: Retrieve depth from sunlight that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033742 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, depth, reading, unit
Sensor: humidity | fields: ts, qc, reading, value
Task: Fetch value from cloud_cover where ts exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033743 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: level, unit, qc, lat
Sensor: temperature | fields: depth, qc, value, ts
Task: Get reading from wind_speed where depth exceeds the minimum depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033744 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, type, unit, depth
Sensor: sunlight | fields: unit, reading, type, depth
Task: Fetch lon from cloud_cover that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033745 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, qc, reading, depth
Sensor: rainfall | fields: depth, type, unit, lat
Task: Get reading from cloud_cover where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033746 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lon, qc, type, lat
Sensor: temperature | fields: value, level, lat, type
Task: Get lat from frost where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033747 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lat, unit, type, value
Sensor: air_quality | fields: value, unit, type, lat
Task: Get lat from drought_index where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033748 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, depth, value, lat
Sensor: snow_depth | fields: lat, value, ts, qc
Task: Get reading from drought_index where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033749 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, unit, type, depth
Sensor: lightning | fields: unit, lon, type, level
Task: Fetch reading from pressure that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033750 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: unit, depth, qc, reading
Sensor: snow_depth | fields: type, unit, level, ts
Task: Retrieve reading from humidity whose qc is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033751 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, reading, ts, type
Sensor: wind_speed | fields: lat, lon, level, type
Task: Get lon from air_quality where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033752 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, level, type, reading
Sensor: soil_moisture | fields: depth, lon, reading, value
Task: Get reading from snow_depth where qc appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033753 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: depth, level, unit, qc
Sensor: snow_depth | fields: level, qc, lon, type
Task: Fetch depth from uv_index where depth is greater than the maximum of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033754 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, depth, unit, ts
Sensor: frost | fields: value, lat, type, ts
Task: Fetch level from snow_depth that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033755 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lat, depth, level, lon
Sensor: rainfall | fields: depth, unit, ts, type
Task: Retrieve level from dew_point that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033756 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: ts, level, lon, value
Sensor: sunlight | fields: level, depth, unit, type
Task: Get lat from evaporation where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033757 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: type, depth, value, reading
Sensor: visibility | fields: lat, reading, ts, lon
Task: Get reading from uv_index where value exceeds the maximum depth from visibility for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033758 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: depth, reading, type, ts
Sensor: drought_index | fields: ts, value, unit, depth
Task: Retrieve level from dew_point whose unit is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033759 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: value, type, ts, unit
Sensor: cloud_cover | fields: depth, reading, type, value
Task: Get value from pressure where value exceeds the maximum depth from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033760 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, level, lat, ts
Sensor: temperature | fields: reading, lat, value, level
Task: Get value from uv_index where depth appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033761 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, qc, depth, lat
Sensor: rainfall | fields: type, level, unit, value
Task: Get level from air_quality where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033762 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lon, qc, lat, type
Sensor: cloud_cover | fields: level, value, lon, qc
Task: Retrieve level from lightning with value above the MIN(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033763 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: value, unit, qc, lon
Sensor: visibility | fields: ts, value, lat, qc
Task: Fetch reading from lightning where qc exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033764 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lon, depth, reading, lat
Sensor: sunlight | fields: type, lon, level, reading
Task: Get reading from visibility where value exceeds the minimum value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033765 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, level, qc, unit
Sensor: soil_moisture | fields: level, lat, unit, lon
Task: Fetch lon from frost where value is greater than the total of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033766 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, ts, type, unit
Sensor: rainfall | fields: reading, type, level, ts
Task: Get depth from snow_depth where reading exceeds the total depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033767 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: qc, depth, type, level
Sensor: temperature | fields: type, level, value, unit
Task: Fetch lat from pressure that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033768 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, depth, level, ts
Sensor: sunlight | fields: value, depth, qc, ts
Task: Retrieve level from uv_index with reading above the MIN(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033769 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: level, lat, value, ts
Sensor: soil_moisture | fields: reading, type, value, ts
Task: Retrieve value from wind_speed whose depth is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033770 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, depth, ts, qc
Sensor: drought_index | fields: lat, depth, value, ts
Task: Get lat from dew_point where qc appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033771 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, depth, qc, type
Sensor: cloud_cover | fields: lon, unit, reading, qc
Task: Retrieve lon from visibility whose ts is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033772 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, level, qc, reading
Sensor: wind_speed | fields: lat, reading, ts, qc
Task: Retrieve lat from frost with reading above the COUNT(depth) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033773 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lon, lat, unit, depth
Sensor: sunlight | fields: lon, depth, ts, level
Task: Retrieve lat from pressure with value above the MAX(reading) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033774 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: ts, level, qc, depth
Sensor: cloud_cover | fields: lat, value, qc, ts
Task: Retrieve reading from frost with depth above the MIN(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033775 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, level, type, qc
Sensor: visibility | fields: type, lon, depth, lat
Task: Retrieve value from soil_moisture whose depth is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033776 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, depth, type, lat
Sensor: cloud_cover | fields: value, depth, qc, unit
Task: Fetch lon from soil_moisture where value is greater than the maximum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033777 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: qc, reading, unit, ts
Sensor: snow_depth | fields: level, qc, unit, value
Task: Retrieve depth from uv_index with depth above the AVG(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033778 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: ts, level, lon, reading
Sensor: drought_index | fields: ts, qc, depth, level
Task: Fetch level from rainfall that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033779 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: level, value, unit, lon
Sensor: rainfall | fields: lat, value, reading, type
Task: Retrieve lat from lightning that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033780 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: type, lon, ts, depth
Sensor: humidity | fields: qc, level, ts, depth
Task: Fetch reading from evaporation where reading is greater than the maximum of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033781 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: reading, unit, type, depth
Sensor: temperature | fields: reading, lat, level, ts
Task: Retrieve lat from turbidity with depth above the MIN(reading) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033782 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, ts, depth, lon
Sensor: rainfall | fields: type, lat, ts, level
Task: Fetch lon from snow_depth that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033783 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: level, lon, depth, lat
Sensor: evaporation | fields: type, qc, lon, unit
Task: Get lat from snow_depth where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033784 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: depth, value, type, ts
Sensor: snow_depth | fields: value, ts, level, depth
Task: Get value from uv_index where type appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033785 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lat, lon, depth, ts
Sensor: frost | fields: lat, depth, ts, unit
Task: Fetch reading from humidity where value is greater than the minimum of value in frost for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033786 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, lat, depth, type
Sensor: soil_moisture | fields: type, value, unit, depth
Task: Retrieve reading from air_quality with reading above the COUNT(depth) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033787 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: type, reading, level, unit
Sensor: visibility | fields: reading, unit, qc, lon
Task: Retrieve level from lightning with value above the MIN(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033788 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lon, ts, depth, reading
Sensor: soil_moisture | fields: unit, type, value, depth
Task: Get value from turbidity where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033789 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: unit, lat, value, reading
Sensor: drought_index | fields: lat, ts, unit, qc
Task: Retrieve reading from evaporation whose unit is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033790 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: ts, depth, value, reading
Sensor: dew_point | fields: unit, reading, level, depth
Task: Fetch lon from lightning where value is greater than the minimum of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033791 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, reading, lon, ts
Sensor: rainfall | fields: ts, type, qc, level
Task: Get value from wind_speed where type appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033792 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: value, lat, ts, qc
Sensor: lightning | fields: lat, level, reading, unit
Task: Get reading from pressure where depth appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033793 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, ts, depth, qc
Sensor: dew_point | fields: reading, level, type, lon
Task: Retrieve lon from cloud_cover with reading above the MAX(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033794 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, lon, type, unit
Sensor: air_quality | fields: qc, reading, value, ts
Task: Retrieve reading from soil_moisture that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033795 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: level, lat, reading, unit
Sensor: sunlight | fields: unit, ts, level, depth
Task: Fetch reading from frost that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033796 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, type, value, lon
Sensor: wind_speed | fields: qc, reading, depth, lon
Task: Fetch value from soil_moisture that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033797 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, lon, qc, level
Sensor: lightning | fields: type, reading, level, lat
Task: Get value from wind_speed where value exceeds the total depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033798 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: depth, lon, lat, qc
Sensor: evaporation | fields: qc, unit, type, lon
Task: Retrieve value from temperature whose ts is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.