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: uv_index | code: thr | fields: reading, depth, type, lat
Sensor: sunlight | fields: type, value, depth, level
Task: Get value from uv_index where depth exceeds the count of reading from sunlight for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060000 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, qc, type, reading
Sensor: lightning | fields: lon, value, ts, qc
Task: Retrieve lon from evaporation with reading above the COUNT(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060001 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: value, type, lat, depth
Sensor: lightning | fields: type, ts, value, unit
Task: Get value from turbidity where reading exceeds the maximum reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060002 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: depth, ts, reading, unit
Sensor: lightning | fields: unit, reading, value, depth
Task: Get lat from evaporation where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060003 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lon, unit, lat, value
Sensor: dew_point | fields: type, unit, reading, lon
Task: Retrieve lat from humidity with value above the MIN(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060004 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: unit, type, lat, ts
Sensor: pressure | fields: value, unit, lat, reading
Task: Fetch lat from dew_point where qc exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060005 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: reading, unit, value, qc
Sensor: temperature | fields: unit, depth, lat, lon
Task: Fetch lon from frost where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060006 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: unit, value, level, lon
Sensor: temperature | fields: reading, depth, qc, lat
Task: Get level from frost where depth appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060007 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: depth, lon, type, value
Sensor: dew_point | fields: unit, reading, ts, qc
Task: Retrieve lat from frost whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060008 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, reading, ts, type
Sensor: humidity | fields: value, type, lat, level
Task: Get lat from cloud_cover where reading exceeds the total value from humidity for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060009 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: value, unit, depth, ts
Sensor: turbidity | fields: depth, type, unit, value
Task: Fetch value from frost where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060010 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: qc, ts, value, depth
Sensor: visibility | fields: level, value, qc, type
Task: Get value from frost where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060011 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, unit, reading, lon
Sensor: snow_depth | fields: type, ts, reading, lon
Task: Fetch level from wind_speed that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060012 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, depth, value, lat
Sensor: wind_speed | fields: value, reading, lat, unit
Task: Retrieve reading from sunlight whose depth is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060013 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: unit, lon, reading, value
Sensor: sunlight | fields: ts, value, depth, reading
Task: Get reading from dew_point where value exceeds the count of depth from sunlight for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"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_060014 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: reading, qc, type, unit
Sensor: evaporation | fields: value, type, depth, reading
Task: Retrieve level from pressure with reading above the SUM(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060015 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lat, unit, qc, lon
Sensor: snow_depth | fields: reading, level, depth, ts
Task: Retrieve lon from visibility whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060016 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, reading, depth, unit
Sensor: pressure | fields: type, level, lat, depth
Task: Retrieve value from cloud_cover whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060017 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: depth, lat, qc, lon
Sensor: sunlight | fields: qc, level, lon, type
Task: Fetch lon from uv_index where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060018 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: reading, lon, unit, type
Sensor: sunlight | fields: ts, reading, qc, unit
Task: Fetch lat from pressure where ts exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060019 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: level, value, ts, qc
Sensor: lightning | fields: qc, level, depth, unit
Task: Retrieve lon from wind_speed with depth above the MIN(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060020 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, value, level, lon
Sensor: temperature | fields: reading, lon, depth, level
Task: Retrieve reading from wind_speed whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060021 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lon, level, reading, type
Sensor: pressure | fields: ts, lat, qc, unit
Task: Retrieve value from turbidity that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060022 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lat, type, level, lon
Sensor: wind_speed | fields: unit, reading, lat, qc
Task: Get lat from uv_index where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060023 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: value, depth, unit, reading
Sensor: pressure | fields: depth, level, value, ts
Task: Fetch lon from uv_index where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060024 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: unit, ts, reading, lat
Sensor: visibility | fields: lon, type, lat, unit
Task: Get reading from evaporation where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060025 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: qc, unit, type, depth
Sensor: drought_index | fields: value, depth, type, unit
Task: Retrieve value from rainfall with value above the SUM(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060026 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: value, unit, level, type
Sensor: humidity | fields: type, qc, level, unit
Task: Fetch reading from uv_index that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060027 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, level, type, reading
Sensor: evaporation | fields: qc, reading, unit, type
Task: Retrieve level from soil_moisture whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060028 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: qc, lon, unit, level
Sensor: evaporation | fields: depth, ts, reading, lat
Task: Get value from pressure where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060029 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, unit, lon, depth
Sensor: drought_index | fields: qc, value, ts, lon
Task: Get reading from sunlight where value exceeds the minimum reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060030 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: ts, lon, reading, level
Sensor: dew_point | fields: lat, lon, type, value
Task: Get reading from evaporation where depth appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060031 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: level, qc, lon, type
Sensor: snow_depth | fields: lon, ts, unit, lat
Task: Get lon from drought_index where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060032 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lat, depth, unit, ts
Sensor: humidity | fields: value, ts, unit, qc
Task: Get level from visibility where qc appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060033 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: type, depth, unit, lat
Sensor: snow_depth | fields: lat, ts, reading, type
Task: Get lat from lightning where depth appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060034 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: value, qc, unit, lat
Sensor: lightning | fields: level, depth, reading, qc
Task: Get value from drought_index where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060035 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, type, ts, value
Sensor: temperature | fields: unit, reading, level, type
Task: Retrieve lat from cloud_cover whose qc is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060036 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: level, ts, reading, value
Sensor: temperature | fields: depth, value, qc, lon
Task: Fetch lon from sunlight where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060037 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: depth, qc, ts, lat
Sensor: uv_index | fields: unit, depth, ts, type
Task: Get value from evaporation where depth appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060038 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: value, reading, type, level
Sensor: temperature | fields: lat, value, unit, ts
Task: Fetch lat from air_quality where type exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060039 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: depth, value, unit, type
Sensor: snow_depth | fields: ts, qc, depth, lon
Task: Fetch reading from rainfall where value is greater than the count of of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060040 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, qc, depth, lon
Sensor: evaporation | fields: depth, lon, unit, qc
Task: Fetch lon from snow_depth that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060041 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: unit, ts, value, level
Sensor: air_quality | fields: qc, lon, ts, lat
Task: Get level from sunlight where depth exceeds the count of value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060042 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lat, value, reading, qc
Sensor: frost | fields: reading, type, lon, qc
Task: Get reading from pressure where type appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060043 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, lat, ts, type
Sensor: temperature | fields: type, unit, lat, reading
Task: Retrieve value from air_quality whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060044 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: ts, unit, depth, lon
Sensor: uv_index | fields: value, ts, qc, reading
Task: Get level from pressure where unit appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060045 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: qc, level, lat, type
Sensor: frost | fields: type, qc, unit, level
Task: Retrieve level from rainfall that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060046 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: qc, level, lon, type
Sensor: humidity | fields: depth, qc, ts, unit
Task: Get level from drought_index where qc appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060047 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: type, lat, level, reading
Sensor: temperature | fields: lat, value, depth, unit
Task: Get reading from visibility where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060048 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: value, reading, level, lat
Sensor: frost | fields: value, type, reading, unit
Task: Get lat from temperature where depth appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060049 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, level, lat, value
Sensor: snow_depth | fields: level, lat, type, value
Task: Get level from cloud_cover where reading exceeds the minimum value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060050 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: ts, value, lon, reading
Sensor: turbidity | fields: type, reading, qc, unit
Task: Retrieve value from uv_index with depth above the COUNT(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060051 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lat, depth, ts, reading
Sensor: cloud_cover | fields: depth, unit, lat, ts
Task: Fetch lat from rainfall that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060052 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, ts, value, qc
Sensor: soil_moisture | fields: depth, ts, qc, lon
Task: Fetch lon from cloud_cover where depth is greater than the average of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"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_060053 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: unit, type, lon, reading
Sensor: evaporation | fields: reading, ts, value, lat
Task: Get reading from air_quality where ts appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060054 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: reading, ts, lon, lat
Sensor: snow_depth | fields: unit, lon, value, lat
Task: Retrieve lon from temperature that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060055 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: reading, qc, lon, lat
Sensor: air_quality | fields: ts, level, qc, value
Task: Fetch value from visibility where depth is greater than the average of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060056 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: qc, unit, ts, lat
Sensor: lightning | fields: level, value, depth, lon
Task: Retrieve value from rainfall with value above the COUNT(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060057 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, type, unit, reading
Sensor: temperature | fields: reading, value, lon, unit
Task: Fetch level from wind_speed where depth is greater than the count of of reading in temperature for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060058 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: reading, unit, lat, ts
Sensor: air_quality | fields: depth, lon, unit, qc
Task: Fetch lat from temperature that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060059 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: reading, type, depth, level
Sensor: snow_depth | fields: reading, value, level, unit
Task: Get value from rainfall where value exceeds the maximum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060060 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, reading, lon, depth
Sensor: dew_point | fields: lat, reading, ts, value
Task: Get level from snow_depth where value exceeds the maximum reading from dew_point for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060061 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, reading, type, level
Sensor: evaporation | fields: reading, level, qc, value
Task: Get depth from frost where ts appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060062 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, lat, qc, reading
Sensor: air_quality | fields: lon, level, unit, reading
Task: Fetch reading from cloud_cover where ts exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060063 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, type, lat, lon
Sensor: air_quality | fields: unit, lon, reading, lat
Task: Fetch value from soil_moisture that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060064 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lat, depth, qc, level
Sensor: soil_moisture | fields: lat, lon, qc, reading
Task: Fetch level from turbidity where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060065 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: type, level, ts, lon
Sensor: visibility | fields: lon, unit, type, qc
Task: Retrieve lon from temperature with depth above the AVG(reading) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060066 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: ts, lat, unit, value
Sensor: rainfall | fields: value, unit, depth, level
Task: Get level from lightning where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060067 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lon, value, depth, unit
Sensor: humidity | fields: value, reading, qc, ts
Task: Get reading from uv_index where depth exceeds the total reading from humidity for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060068 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: type, lat, unit, qc
Sensor: drought_index | fields: lat, type, value, depth
Task: Fetch lon from lightning that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060069 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lon, depth, unit, reading
Sensor: snow_depth | fields: qc, level, ts, lat
Task: Retrieve lat from humidity whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060070 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: value, level, unit, reading
Sensor: visibility | fields: depth, ts, lon, level
Task: Get lon from temperature where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060071 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: unit, depth, lon, qc
Sensor: turbidity | fields: value, reading, unit, qc
Task: Retrieve reading from air_quality with value above the MIN(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060072 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: reading, qc, lon, type
Sensor: turbidity | fields: reading, level, type, ts
Task: Get level from visibility where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060073 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: ts, reading, level, unit
Sensor: snow_depth | fields: unit, value, depth, ts
Task: Get value from pressure where value exceeds the count of reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060074 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, value, ts, type
Sensor: turbidity | fields: level, depth, unit, value
Task: Get level from snow_depth where value exceeds the total value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060075 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, ts, lat, reading
Sensor: uv_index | fields: level, lon, ts, unit
Task: Retrieve level from turbidity with depth above the SUM(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060076 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: depth, value, qc, reading
Sensor: visibility | fields: reading, qc, lon, lat
Task: Retrieve depth from humidity with reading above the MAX(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060077 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, lat, value, reading
Sensor: soil_moisture | fields: value, qc, type, lon
Task: Get depth from snow_depth where unit appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060078 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: level, qc, type, unit
Sensor: uv_index | fields: lat, type, reading, qc
Task: Get level from lightning where unit appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060079 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: level, ts, depth, reading
Sensor: visibility | fields: lat, value, ts, unit
Task: Get value from wind_speed where reading exceeds the count of reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060080 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, qc, type, ts
Sensor: sunlight | fields: value, qc, reading, ts
Task: Get reading from wind_speed where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060081 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, value, ts, lat
Sensor: turbidity | fields: depth, reading, ts, unit
Task: Retrieve reading from sunlight that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060082 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: type, depth, value, lon
Sensor: visibility | fields: type, lon, unit, level
Task: Fetch depth from air_quality where qc exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060083 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: type, unit, level, value
Sensor: rainfall | fields: level, type, value, reading
Task: Retrieve level from visibility that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060084 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: type, unit, reading, value
Sensor: evaporation | fields: lat, qc, value, depth
Task: Get depth from uv_index where reading exceeds the maximum value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060085 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, type, lat, qc
Sensor: air_quality | fields: depth, reading, unit, value
Task: Get lat from cloud_cover where reading exceeds the minimum value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060086 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, value, level, lat
Sensor: dew_point | fields: lon, type, qc, depth
Task: Retrieve depth from evaporation with value above the MIN(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060087 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: depth, level, type, reading
Sensor: lightning | fields: unit, lat, type, lon
Task: Retrieve depth from drought_index with depth above the MAX(depth) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060088 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, value, unit, level
Sensor: pressure | fields: lat, ts, depth, qc
Task: Retrieve level from soil_moisture with reading above the SUM(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060089 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: depth, unit, qc, ts
Sensor: evaporation | fields: depth, lat, reading, type
Task: Fetch reading from rainfall where type exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060090 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: value, reading, unit, type
Sensor: pressure | fields: qc, level, value, depth
Task: Retrieve value from humidity that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060091 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lat, value, ts
Sensor: humidity | fields: reading, value, lat, type
Task: Fetch lon from rainfall that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060092 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: qc, value, type, ts
Sensor: air_quality | fields: unit, qc, ts, value
Task: Fetch level from dew_point where depth is greater than the minimum of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060093 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, reading, lon, level
Sensor: frost | fields: level, unit, value, type
Task: Fetch depth from temperature that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060094 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: type, reading, depth, unit
Sensor: evaporation | fields: qc, depth, lat, lon
Task: Fetch reading from air_quality where reading is greater than the total of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060095 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, reading, qc, lat
Sensor: uv_index | fields: lat, value, ts, qc
Task: Get lat from frost where ts appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060096 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lon, unit, lat, value
Sensor: snow_depth | fields: reading, type, level, qc
Task: Get value from rainfall where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060097 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: ts, reading, depth, value
Sensor: evaporation | fields: depth, value, type, level
Task: Get depth from lightning where reading exceeds the count of depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060098 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: value, type, unit, lat
Sensor: evaporation | fields: reading, lat, depth, unit
Task: Fetch reading from rainfall where depth exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.