variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, unit, lon, qc
Sensor: pressure | fields: lat, depth, unit, type
Task: Fetch lon from snow_depth that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003700 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, qc, reading, ts
Sensor: soil_moisture | fields: depth, unit, qc, value
Task: Fetch lon from cloud_cover that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003701 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, lon, qc, type
Sensor: uv_index | fields: reading, lon, depth, type
Task: Retrieve lat from air_quality whose depth is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003702 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: reading, lon, depth, value
Sensor: sunlight | fields: unit, reading, ts, type
Task: Get lat from pressure where reading exceeds the maximum reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"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_003703 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, reading, level, lon
Sensor: cloud_cover | fields: qc, lon, depth, value
Task: Get depth from snow_depth where value exceeds the count of depth from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003704 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, level, lon, value
Sensor: uv_index | fields: lat, type, unit, level
Task: Get lon from cloud_cover where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003705 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, value, lat, unit
Sensor: temperature | fields: reading, unit, qc, type
Task: Fetch level from snow_depth that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003706 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lon, type, depth, level
Sensor: snow_depth | fields: unit, depth, reading, lat
Task: Get value from turbidity where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003707 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, level, ts, lon
Sensor: pressure | fields: ts, depth, lon, lat
Task: Get depth from visibility where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003708 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, qc, lon, lat
Sensor: pressure | fields: lon, qc, reading, type
Task: Fetch level from temperature where value is greater than the maximum of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003709 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, qc, type, lon
Sensor: humidity | fields: depth, ts, type, qc
Task: Fetch reading from soil_moisture where value is greater than the count of of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003710 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, unit, depth, value
Sensor: temperature | fields: reading, type, lon, level
Task: Get depth from rainfall where value exceeds the minimum depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003711 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, lat, type, qc
Sensor: humidity | fields: type, unit, depth, lon
Task: Fetch lon from rainfall where depth is greater than the maximum of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003712 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: depth, lon, value, level
Sensor: humidity | fields: lat, qc, ts, lon
Task: Fetch lat from uv_index where depth is greater than the count of of depth in humidity for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003713 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: qc, level, unit, lon
Sensor: soil_moisture | fields: level, value, reading, qc
Task: Fetch lon from temperature where depth is greater than the total of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003714 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, type, qc, lat
Sensor: snow_depth | fields: value, lon, type, level
Task: Get reading from evaporation where reading exceeds the maximum depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003715 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, lat, value, level
Sensor: dew_point | fields: ts, qc, type, unit
Task: Get value from snow_depth where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003716 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: level, lon, lat, unit
Sensor: rainfall | fields: depth, qc, lon, unit
Task: Get lat from humidity where value exceeds the average value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003717 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: type, reading, unit, ts
Sensor: air_quality | fields: lon, depth, reading, ts
Task: Retrieve level from temperature whose qc is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003718 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, qc, value, ts
Sensor: lightning | fields: ts, value, qc, level
Task: Retrieve value from snow_depth with value above the COUNT(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003719 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: value, unit, level, depth
Sensor: lightning | fields: depth, unit, type, ts
Task: Retrieve lat from temperature with reading above the COUNT(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003720 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: type, lon, lat, depth
Sensor: evaporation | fields: unit, ts, value, reading
Task: Retrieve lat from snow_depth with reading above the COUNT(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003721 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: unit, depth, ts, reading
Sensor: dew_point | fields: ts, reading, qc, type
Task: Get depth from visibility where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003722 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lon, value, depth, reading
Sensor: frost | fields: ts, depth, value, level
Task: Get lat from evaporation where reading exceeds the minimum value from frost for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003723 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, value, qc, level
Sensor: sunlight | fields: type, value, lon, ts
Task: Fetch lat from visibility that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003724 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: qc, level, type, lon
Sensor: lightning | fields: ts, unit, level, type
Task: Retrieve level from sunlight whose unit is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003725 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, qc, value, ts
Sensor: frost | fields: lat, type, unit, reading
Task: Fetch depth from snow_depth where reading is greater than the count of of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003726 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: qc, type, value, unit
Sensor: pressure | fields: unit, value, depth, lat
Task: Fetch value from humidity where value is greater than the count of of reading in pressure for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003727 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, lon, value, type
Sensor: turbidity | fields: qc, ts, value, reading
Task: Fetch level from frost where depth is greater than the total of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003728 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: unit, qc, value, reading
Sensor: rainfall | fields: ts, unit, level, lon
Task: Fetch value from turbidity that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003729 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lat, value, lon, type
Sensor: wind_speed | fields: level, lat, type, ts
Task: Fetch value from humidity that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003730 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: unit, type, qc, depth
Sensor: uv_index | fields: lat, lon, qc, value
Task: Retrieve value from evaporation with reading above the MIN(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003731 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, lon, unit, type
Sensor: rainfall | fields: type, depth, value, level
Task: Get value from snow_depth where ts appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003732 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: type, lon, value, lat
Sensor: turbidity | fields: qc, lon, value, lat
Task: Retrieve value from dew_point whose unit is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003733 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: type, lat, reading, ts
Sensor: soil_moisture | fields: value, lon, qc, lat
Task: Get level from turbidity where depth appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003734 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, ts, value, level
Sensor: visibility | fields: type, lat, depth, reading
Task: Get reading from rainfall where type appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003735 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, unit, lat, ts
Sensor: evaporation | fields: depth, lon, qc, ts
Task: Retrieve value from soil_moisture with reading above the COUNT(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003736 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, unit, level, qc
Sensor: visibility | fields: unit, depth, lon, reading
Task: Retrieve level from temperature whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003737 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: depth, reading, unit, lon
Sensor: dew_point | fields: reading, type, level, lon
Task: Get reading from lightning where reading exceeds the maximum value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003738 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, unit, level, depth
Sensor: uv_index | fields: qc, reading, type, depth
Task: Retrieve value from snow_depth that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003739 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lat, qc, ts, reading
Sensor: drought_index | fields: lat, unit, qc, depth
Task: Get lat from evaporation where depth exceeds the minimum reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003740 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, unit, ts, reading
Sensor: turbidity | fields: unit, value, ts, depth
Task: Retrieve depth from visibility whose type is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003741 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: value, lon, unit, ts
Sensor: snow_depth | fields: ts, qc, unit, depth
Task: Get lon from air_quality where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003742 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, lat, lon, depth
Sensor: sunlight | fields: depth, lon, ts, level
Task: Fetch lat from cloud_cover where value is greater than the maximum of value in sunlight for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003743 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, value, qc, unit
Sensor: visibility | fields: qc, ts, lon, value
Task: Get lat from humidity where value exceeds the maximum depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003744 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, value, depth, lat
Sensor: dew_point | fields: depth, level, reading, lat
Task: Get reading from wind_speed where depth exceeds the maximum reading from dew_point for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003745 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lat, level, unit, reading
Sensor: turbidity | fields: level, unit, ts, depth
Task: Get depth from dew_point where value exceeds the count of value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003746 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lat, value, lon, ts
Sensor: temperature | fields: lon, lat, unit, depth
Task: Fetch level from turbidity where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003747 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, reading, level, ts
Sensor: temperature | fields: reading, value, qc, unit
Task: Get level from soil_moisture where depth appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003748 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, lat, ts, lon
Sensor: pressure | fields: ts, lat, lon, type
Task: Get level from soil_moisture where ts appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003749 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: depth, reading, lat, type
Sensor: wind_speed | fields: depth, unit, type, qc
Task: Retrieve level from evaporation whose ts is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003750 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, qc, lat, lon
Sensor: humidity | fields: value, ts, type, lon
Task: Fetch depth from frost where depth is greater than the minimum of value in humidity for matching depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003751 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lon, value, reading, depth
Sensor: pressure | fields: qc, depth, unit, lat
Task: Retrieve lat from sunlight that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003752 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: type, depth, lon, lat
Sensor: temperature | fields: lon, depth, level, ts
Task: Get value from lightning where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003753 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: level, unit, value, type
Sensor: soil_moisture | fields: depth, lon, unit, lat
Task: Get value from turbidity where reading exceeds the total reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003754 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: depth, lon, level, type
Sensor: turbidity | fields: lon, level, ts, value
Task: Get lat from sunlight where value exceeds the total value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003755 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, level, value, type
Sensor: pressure | fields: depth, unit, level, type
Task: Get lon from uv_index where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003756 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: reading, lon, level, ts
Sensor: temperature | fields: type, level, value, qc
Task: Fetch lat from drought_index that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003757 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: value, lon, lat, level
Sensor: lightning | fields: level, ts, lon, depth
Task: Retrieve reading from drought_index with depth above the MIN(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003758 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, unit, reading, lat
Sensor: lightning | fields: type, lat, unit, level
Task: Fetch value from pressure where ts exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003759 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lon, lat, level, value
Sensor: rainfall | fields: qc, value, lon, lat
Task: Retrieve lon from evaporation whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003760 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: value, reading, qc, unit
Sensor: wind_speed | fields: type, level, lon, value
Task: Fetch lat from evaporation where depth is greater than the count of of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"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_003761 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, type, level, reading
Sensor: sunlight | fields: type, ts, qc, unit
Task: Retrieve level from wind_speed with value above the MAX(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003762 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, value, depth, lon
Sensor: humidity | fields: ts, type, reading, qc
Task: Get lat from soil_moisture where type appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003763 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: type, level, qc, unit
Sensor: air_quality | fields: value, lat, qc, lon
Task: Fetch lon from wind_speed where reading is greater than the average of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003764 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, value, qc, lon
Sensor: snow_depth | fields: reading, qc, lon, ts
Task: Get depth from cloud_cover where reading exceeds the average value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003765 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, depth, qc, type
Sensor: wind_speed | fields: lat, depth, unit, ts
Task: Fetch depth from visibility where reading is greater than the average of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003766 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: unit, lon, type, value
Sensor: humidity | fields: value, reading, unit, type
Task: Fetch depth from evaporation where value is greater than the minimum of depth in humidity for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"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_003767 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: ts, value, lat, depth
Sensor: dew_point | fields: lat, lon, reading, level
Task: Get level from rainfall where reading exceeds the average depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003768 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: reading, lon, level, qc
Sensor: dew_point | fields: type, value, unit, level
Task: Retrieve value from frost whose qc is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003769 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lon, reading, lat, level
Sensor: uv_index | fields: type, ts, qc, lon
Task: Fetch value from dew_point that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003770 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: level, value, depth, qc
Sensor: drought_index | fields: unit, depth, qc, lat
Task: Retrieve level from uv_index with depth above the COUNT(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003771 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, unit, lat, depth
Sensor: sunlight | fields: qc, lon, type, depth
Task: Retrieve reading from evaporation that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003772 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: reading, level, lat, lon
Sensor: lightning | fields: depth, type, unit, reading
Task: Fetch lon from turbidity where depth is greater than the count of of value in lightning for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003773 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, type, level, lat
Sensor: humidity | fields: type, ts, unit, lon
Task: Retrieve depth from snow_depth with depth above the MIN(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003774 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, reading, qc, value
Sensor: visibility | fields: ts, type, lat, qc
Task: Retrieve lon from soil_moisture with reading above the SUM(reading) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003775 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: type, reading, ts, depth
Sensor: snow_depth | fields: unit, lon, ts, qc
Task: Get lon from evaporation where reading exceeds the total value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"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_003776 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: qc, unit, value, lat
Sensor: wind_speed | fields: level, qc, depth, type
Task: Fetch reading from temperature that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003777 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: level, lon, lat, value
Sensor: visibility | fields: lat, value, lon, unit
Task: Retrieve value from uv_index with value above the COUNT(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003778 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: depth, value, type, lon
Sensor: turbidity | fields: unit, depth, reading, lon
Task: Fetch lat from temperature where value is greater than the total of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003779 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, depth, type, reading
Sensor: cloud_cover | fields: value, qc, lon, lat
Task: Retrieve lon from visibility whose unit is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003780 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: unit, level, value, ts
Sensor: cloud_cover | fields: lon, value, qc, lat
Task: Get value from humidity where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003781 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: ts, unit, reading, level
Sensor: uv_index | fields: qc, depth, level, reading
Task: Retrieve depth from pressure that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003782 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: reading, unit, type, ts
Sensor: drought_index | fields: qc, value, lat, lon
Task: Retrieve reading from visibility whose qc is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003783 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, ts, value, reading
Sensor: humidity | fields: level, depth, value, type
Task: Get value from turbidity where reading exceeds the average depth from humidity for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003784 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: qc, unit, value, lon
Sensor: lightning | fields: unit, type, depth, lat
Task: Retrieve level from frost whose type is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003785 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, reading, type, lat
Sensor: pressure | fields: depth, ts, reading, value
Task: Get level from snow_depth where ts appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003786 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: reading, type, lon, qc
Sensor: lightning | fields: level, qc, value, reading
Task: Fetch lon from drought_index where reading is greater than the maximum of value in lightning for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003787 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: level, reading, lat, unit
Sensor: turbidity | fields: lon, qc, lat, reading
Task: Get lon from drought_index where type appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003788 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: type, depth, unit, reading
Sensor: dew_point | fields: qc, type, lon, reading
Task: Retrieve level from snow_depth whose ts is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003789 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: type, reading, unit, qc
Sensor: evaporation | fields: ts, lon, unit, reading
Task: Get lon from air_quality where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003790 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: ts, depth, unit, reading
Sensor: pressure | fields: qc, type, level, depth
Task: Fetch depth from frost where reading is greater than the count of of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"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_003791 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: level, qc, value, type
Sensor: humidity | fields: qc, unit, type, lon
Task: Retrieve depth from frost that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003792 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: level, reading, qc, lat
Sensor: drought_index | fields: unit, lon, reading, value
Task: Fetch lon from wind_speed that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003793 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lon, ts, unit, value
Sensor: snow_depth | fields: depth, reading, unit, lat
Task: Retrieve lon from uv_index with depth above the MIN(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003794 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lon, ts, value, unit
Sensor: sunlight | fields: level, lat, reading, qc
Task: Retrieve value from turbidity with value above the MAX(value) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003795 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: value, depth, unit, qc
Sensor: humidity | fields: lat, level, reading, value
Task: Retrieve lon from turbidity that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003796 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, depth, reading, ts
Sensor: snow_depth | fields: value, type, unit, reading
Task: Fetch lon from humidity where unit exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003797 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, ts, type, unit
Sensor: dew_point | fields: ts, reading, value, depth
Task: Fetch lon from wind_speed where depth is greater than the maximum of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003798 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, reading, ts, type
Sensor: pressure | fields: qc, level, value, reading
Task: Retrieve lon from wind_speed with reading above the COUNT(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.