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: visibility | code: prt | fields: type, level, qc, reading
Sensor: lightning | fields: type, qc, reading, value
Task: Get lon from visibility where depth exceeds the average reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033600 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lat, reading, lon, level
Sensor: soil_moisture | fields: reading, ts, unit, level
Task: Get value from pressure where reading exceeds the average depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033601 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: level, depth, reading, ts
Sensor: cloud_cover | fields: level, depth, lon, lat
Task: Fetch value from pressure that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033602 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, value, unit, depth
Sensor: visibility | fields: value, type, lat, unit
Task: Fetch lat from drought_index where depth is greater than the count of of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033603 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: depth, lat, ts, level
Sensor: lightning | fields: lat, value, depth, reading
Task: Fetch lon from uv_index where depth is greater than the count of of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033604 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, lon, ts, unit
Sensor: turbidity | fields: reading, level, qc, type
Task: Retrieve reading from soil_moisture that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033605 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: reading, unit, lat, lon
Sensor: turbidity | fields: ts, type, depth, reading
Task: Retrieve depth from visibility that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033606 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: reading, qc, lat, type
Sensor: uv_index | fields: reading, level, unit, depth
Task: Get value from visibility where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033607 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, unit, level, ts
Sensor: pressure | fields: unit, value, qc, reading
Task: Retrieve value from evaporation with depth above the MAX(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033608 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, depth, unit, level
Sensor: sunlight | fields: depth, level, unit, lon
Task: Get lon from snow_depth where unit appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033609 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: unit, qc, depth, lon
Sensor: air_quality | fields: reading, lon, level, lat
Task: Retrieve depth from pressure that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033610 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: unit, qc, type, reading
Sensor: dew_point | fields: value, reading, ts, lon
Task: Fetch reading from evaporation where reading is greater than the count of of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033611 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, value, reading, unit
Sensor: drought_index | fields: value, unit, lat, level
Task: Get lon from sunlight where reading exceeds the count of reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033612 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, value, type, unit
Sensor: rainfall | fields: reading, depth, value, type
Task: Fetch reading from cloud_cover where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033613 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, type, qc, lon
Sensor: drought_index | fields: value, ts, type, lat
Task: Get lon from soil_moisture where qc appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033614 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, qc, unit, lat
Sensor: air_quality | fields: reading, qc, lon, depth
Task: Retrieve lat from soil_moisture that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033615 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: level, value, lat, lon
Sensor: uv_index | fields: unit, qc, depth, lat
Task: Retrieve depth from wind_speed that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"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_033616 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: level, reading, lat, type
Sensor: dew_point | fields: lat, type, level, depth
Task: Retrieve reading from air_quality that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033617 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, qc, ts, value
Sensor: turbidity | fields: ts, reading, lat, qc
Task: Retrieve reading from temperature that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033618 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: level, lon, value, unit
Sensor: turbidity | fields: lat, reading, ts, depth
Task: Retrieve depth from frost whose depth is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033619 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: ts, type, lon, unit
Sensor: sunlight | fields: value, depth, level, type
Task: Retrieve depth from visibility that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033620 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, level, value, reading
Sensor: visibility | fields: level, depth, unit, type
Task: Retrieve reading from wind_speed with value above the COUNT(reading) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033621 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, value, depth, ts
Sensor: rainfall | fields: qc, lat, type, lon
Task: Retrieve value from uv_index whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033622 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: qc, lat, depth, unit
Sensor: visibility | fields: level, value, lon, unit
Task: Get value from turbidity where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033623 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lon, level, ts, qc
Sensor: sunlight | fields: level, unit, reading, value
Task: Fetch depth from turbidity where depth exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033624 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, unit, value, lon
Sensor: cloud_cover | fields: unit, lon, value, ts
Task: Retrieve depth from uv_index that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033625 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: level, ts, lon, depth
Sensor: wind_speed | fields: level, lat, depth, unit
Task: Get reading from uv_index where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033626 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, value, depth, level
Sensor: turbidity | fields: lat, level, reading, value
Task: Get depth from cloud_cover where reading exceeds the total depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033627 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: lon, unit, lat, level
Sensor: rainfall | fields: lat, qc, reading, depth
Task: Retrieve value from pressure whose qc is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033628 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: unit, level, type, lat
Sensor: humidity | fields: level, reading, qc, unit
Task: Retrieve value from rainfall whose type is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033629 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, ts, lat, unit
Sensor: pressure | fields: depth, unit, lat, level
Task: Retrieve value from soil_moisture whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033630 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: qc, type, unit, level
Sensor: temperature | fields: lat, ts, unit, lon
Task: Get depth from frost where reading exceeds the total depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033631 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: qc, unit, reading, lat
Sensor: soil_moisture | fields: depth, value, lon, unit
Task: Get reading from frost where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033632 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, value, lat, depth
Sensor: humidity | fields: level, unit, depth, value
Task: Retrieve depth from sunlight that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033633 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, type, lon, lat
Sensor: soil_moisture | fields: type, level, qc, unit
Task: Fetch reading from air_quality that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033634 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: depth, ts, value, type
Sensor: wind_speed | fields: unit, reading, type, depth
Task: Fetch value from pressure where reading is greater than the count of of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033635 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, type, lon, unit
Sensor: visibility | fields: level, lon, ts, type
Task: Retrieve depth from cloud_cover that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033636 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: reading, level, depth, ts
Sensor: lightning | fields: depth, reading, qc, lat
Task: Fetch reading from frost that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033637 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, ts, lon, lat
Sensor: visibility | fields: depth, unit, qc, lon
Task: Fetch lat from wind_speed where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033638 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: depth, level, reading, qc
Sensor: turbidity | fields: type, lat, reading, value
Task: Get reading from evaporation where ts appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033639 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, lon, unit, type
Sensor: lightning | fields: depth, reading, type, lat
Task: Fetch reading from turbidity where qc exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033640 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: ts, level, depth, qc
Sensor: frost | fields: reading, unit, lon, ts
Task: Get depth from uv_index where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033641 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, type, value, qc
Sensor: humidity | fields: ts, reading, level, type
Task: Get depth from soil_moisture where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033642 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: depth, value, ts, lon
Sensor: uv_index | fields: ts, depth, lat, lon
Task: Get lat from evaporation where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033643 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, value, level, reading
Sensor: evaporation | fields: depth, ts, lon, reading
Task: Retrieve lat from cloud_cover whose type is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033644 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lon, qc, reading, ts
Sensor: uv_index | fields: lat, lon, depth, qc
Task: Fetch level from dew_point that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033645 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lat, ts, qc, value
Sensor: snow_depth | fields: ts, level, depth, value
Task: Retrieve lon from pressure with reading above the MIN(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033646 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: qc, type, value, level
Sensor: dew_point | fields: value, unit, qc, lon
Task: Get reading from humidity where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033647 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: qc, ts, depth, lat
Sensor: visibility | fields: depth, lon, level, value
Task: Get reading from sunlight where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033648 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: type, value, qc, level
Sensor: lightning | fields: depth, level, type, value
Task: Fetch lon from rainfall where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033649 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: depth, lat, unit, type
Sensor: turbidity | fields: reading, ts, type, lon
Task: Fetch lon from visibility where unit exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033650 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, reading, lat, ts
Sensor: sunlight | fields: depth, value, lon, type
Task: Retrieve lon from snow_depth that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033651 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, type, depth, reading
Sensor: drought_index | fields: level, value, ts, type
Task: Retrieve reading from snow_depth with value above the SUM(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033652 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, qc, ts, value
Sensor: rainfall | fields: ts, lat, lon, level
Task: Fetch depth from wind_speed where value is greater than the maximum of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033653 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: qc, depth, lon, lat
Sensor: frost | fields: qc, depth, value, level
Task: Fetch lat from sunlight where depth is greater than the count of of reading in frost for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033654 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, value, level, type
Sensor: dew_point | fields: reading, ts, depth, level
Task: Fetch lon from drought_index that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033655 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lat, level, reading, lon
Sensor: lightning | fields: unit, qc, value, ts
Task: Retrieve lat from uv_index that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033656 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lat, lon, reading, depth
Sensor: sunlight | fields: qc, depth, value, lon
Task: Get value from dew_point where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033657 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: value, ts, qc, level
Sensor: cloud_cover | fields: level, qc, lat, ts
Task: Retrieve lon from uv_index with reading above the AVG(value) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033658 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: value, ts, depth, unit
Sensor: uv_index | fields: lon, unit, level, ts
Task: Fetch value from air_quality where reading is greater than the count of of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033659 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: level, ts, lon, value
Sensor: uv_index | fields: lat, ts, level, lon
Task: Get level from sunlight where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033660 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, value, reading, type
Sensor: uv_index | fields: value, ts, lon, type
Task: Fetch depth from soil_moisture where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033661 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, depth, value, lat
Sensor: evaporation | fields: unit, lat, qc, level
Task: Retrieve reading from soil_moisture with reading above the SUM(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033662 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: value, type, unit, depth
Sensor: cloud_cover | fields: value, type, unit, ts
Task: Get lon from pressure where reading exceeds the total reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033663 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: level, value, lat, reading
Sensor: dew_point | fields: value, lat, lon, ts
Task: Retrieve lon from visibility with reading above the COUNT(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033664 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, unit, lon, type
Sensor: humidity | fields: qc, lat, level, reading
Task: Get value from uv_index where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033665 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: unit, reading, level, lon
Sensor: wind_speed | fields: level, depth, unit, lat
Task: Get reading from air_quality where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033666 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: unit, type, level, value
Sensor: evaporation | fields: depth, lon, lat, ts
Task: Retrieve lon from visibility that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033667 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, depth, lon, value
Sensor: snow_depth | fields: ts, reading, level, type
Task: Retrieve lon from wind_speed that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033668 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lat, reading, type, depth
Sensor: sunlight | fields: type, lon, value, reading
Task: Retrieve value from humidity whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033669 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: type, unit, depth, value
Sensor: snow_depth | fields: level, depth, reading, lon
Task: Retrieve lon from drought_index with depth above the MIN(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033670 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: type, level, lat, depth
Sensor: wind_speed | fields: qc, reading, value, lat
Task: Retrieve level from evaporation whose qc is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033671 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, level, value, ts
Sensor: frost | fields: lat, qc, ts, depth
Task: Fetch lon from cloud_cover where depth exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033672 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: level, type, lat, lon
Sensor: uv_index | fields: unit, type, reading, qc
Task: Get value from humidity where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033673 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, value, lat, unit
Sensor: temperature | fields: unit, level, value, lon
Task: Get depth from cloud_cover where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033674 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, qc, lat, ts
Sensor: frost | fields: ts, type, value, lon
Task: Fetch value from snow_depth that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033675 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, reading, unit, type
Sensor: snow_depth | fields: lat, ts, qc, lon
Task: Fetch lon from sunlight where qc exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033676 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lat, qc, reading, level
Sensor: turbidity | fields: type, lon, level, unit
Task: Fetch lon from humidity where qc exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033677 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: ts, type, unit, depth
Sensor: turbidity | fields: type, lon, value, unit
Task: Retrieve depth from frost with depth above the AVG(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033678 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: qc, lon, lat, type
Sensor: snow_depth | fields: ts, unit, reading, depth
Task: Fetch value from rainfall where value is greater than the maximum of depth in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"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_033679 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lon, lat, reading, value
Sensor: lightning | fields: ts, type, lat, value
Task: Get depth from frost where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033680 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: unit, level, depth, ts
Sensor: lightning | fields: value, level, unit, lat
Task: Retrieve reading from uv_index with value above the SUM(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033681 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: ts, qc, lat, value
Sensor: humidity | fields: reading, level, value, unit
Task: Retrieve reading from lightning with value above the MAX(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033682 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: ts, lat, value, reading
Sensor: humidity | fields: level, ts, reading, type
Task: Fetch reading from lightning that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033683 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lat, value, lon, level
Sensor: evaporation | fields: unit, qc, ts, value
Task: Retrieve lat from drought_index with depth above the SUM(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033684 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: level, lon, type, value
Sensor: wind_speed | fields: depth, qc, type, lon
Task: Retrieve value from uv_index with depth above the COUNT(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033685 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, qc, lon, unit
Sensor: visibility | fields: level, lat, type, depth
Task: Get value from cloud_cover where reading exceeds the average reading from visibility for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033686 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, reading, type, unit
Sensor: temperature | fields: lat, lon, depth, unit
Task: Fetch level from frost where unit exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033687 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: ts, type, value, lon
Sensor: uv_index | fields: lat, level, value, qc
Task: Get value from turbidity where depth exceeds the count of value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033688 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lon, ts, reading, level
Sensor: humidity | fields: unit, type, value, ts
Task: Get reading from uv_index where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033689 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lon, type, unit, lat
Sensor: sunlight | fields: lat, depth, qc, level
Task: Retrieve lat from frost with reading above the AVG(value) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033690 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: reading, ts, qc, level
Sensor: rainfall | fields: type, value, unit, ts
Task: Fetch reading from turbidity where depth is greater than the minimum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"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_033691 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: qc, lon, ts, lat
Sensor: drought_index | fields: qc, lon, depth, ts
Task: Retrieve lat from rainfall that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033692 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, unit, value, level
Sensor: lightning | fields: unit, qc, reading, ts
Task: Fetch lon from wind_speed that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033693 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: reading, unit, depth, type
Sensor: air_quality | fields: lat, lon, level, ts
Task: Retrieve reading from uv_index with depth above the COUNT(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033694 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: type, unit, lon, level
Sensor: sunlight | fields: unit, depth, qc, lon
Task: Fetch value from visibility that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033695 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: qc, ts, lon, depth
Sensor: soil_moisture | fields: qc, reading, level, ts
Task: Get reading from dew_point where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033696 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, reading, level, lon
Sensor: visibility | fields: depth, ts, reading, unit
Task: Fetch lon from evaporation that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033697 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: value, depth, lat, reading
Sensor: frost | fields: type, lon, lat, level
Task: Get value from humidity where depth appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033698 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: ts, value, lon, level
Sensor: lightning | fields: lat, type, level, qc
Task: Retrieve depth from dew_point with depth above the MAX(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.