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: humidity | code: ref | fields: unit, reading, type, ts
Sensor: soil_moisture | fields: level, type, lat, ts
Task: Fetch lat from humidity where depth is greater than the maximum of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005700 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, reading, qc, level
Sensor: sunlight | fields: depth, ts, type, reading
Task: Fetch level from frost where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005701 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: type, level, unit, reading
Sensor: cloud_cover | fields: lat, depth, reading, unit
Task: Fetch level from visibility where reading is greater than the minimum of reading in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005702 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: value, qc, reading, depth
Sensor: wind_speed | fields: lon, lat, depth, type
Task: Fetch level from humidity where reading is greater than the total of depth in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005703 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: unit, depth, level, lon
Sensor: rainfall | fields: ts, qc, lon, unit
Task: Fetch lon from humidity where depth is greater than the total of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005704 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, qc, reading, ts
Sensor: pressure | fields: level, reading, value, type
Task: Get value from lightning where reading exceeds the average reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005705 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: ts, lat, type, level
Sensor: pressure | fields: ts, value, reading, depth
Task: Retrieve reading from temperature that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005706 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: unit, type, qc, ts
Sensor: sunlight | fields: level, unit, ts, lon
Task: Retrieve depth from temperature with reading above the AVG(value) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005707 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, qc, depth, level
Sensor: rainfall | fields: qc, reading, lat, depth
Task: Fetch level from wind_speed where value is greater than the minimum of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005708 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, depth, unit, ts
Sensor: temperature | fields: depth, lat, lon, type
Task: Retrieve depth from uv_index that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005709 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, unit, lat, depth
Sensor: frost | fields: lon, lat, ts, reading
Task: Fetch lon from snow_depth where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005710 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: ts, type, value, unit
Sensor: dew_point | fields: reading, lat, unit, lon
Task: Fetch level from lightning that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005711 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, depth, reading, level
Sensor: dew_point | fields: lon, ts, unit, depth
Task: Fetch lon from soil_moisture that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005712 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: level, value, qc, lon
Sensor: wind_speed | fields: depth, qc, type, lon
Task: Fetch level from dew_point that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005713 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: unit, qc, level, type
Sensor: frost | fields: lon, qc, depth, type
Task: Retrieve depth from evaporation that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005714 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: value, level, type, depth
Sensor: humidity | fields: qc, lon, value, unit
Task: Fetch level from temperature where depth exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005715 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, qc, depth, ts
Sensor: wind_speed | fields: depth, value, qc, type
Task: Retrieve value from pressure that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005716 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: level, ts, depth, unit
Sensor: cloud_cover | fields: unit, depth, ts, level
Task: Get depth from pressure where value exceeds the minimum reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005717 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, reading, ts, type
Sensor: air_quality | fields: reading, ts, unit, lat
Task: Fetch depth from wind_speed where reading is greater than the total of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005718 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, lat, unit, ts
Sensor: sunlight | fields: unit, type, qc, lon
Task: Get reading from soil_moisture where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005719 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: value, qc, reading, type
Sensor: turbidity | fields: reading, lon, unit, type
Task: Fetch lat from snow_depth that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005720 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: ts, level, lon, unit
Sensor: evaporation | fields: depth, qc, value, type
Task: Fetch lat from visibility where ts exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005721 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: ts, reading, lon, level
Sensor: air_quality | fields: unit, value, reading, qc
Task: Get level from pressure where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005722 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, reading, ts, level
Sensor: frost | fields: qc, type, lat, unit
Task: Get reading from soil_moisture where reading exceeds the minimum value from frost for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005723 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, reading, unit, value
Sensor: temperature | fields: reading, depth, level, lon
Task: Retrieve lat from snow_depth that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005724 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: value, lat, lon, type
Sensor: turbidity | fields: type, qc, ts, lon
Task: Retrieve lon from humidity with value above the SUM(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005725 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, depth, ts, lon
Sensor: uv_index | fields: value, qc, level, lon
Task: Fetch reading from drought_index where depth is greater than the total of depth in uv_index for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005726 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, reading, qc, lon
Sensor: pressure | fields: lat, ts, reading, type
Task: Fetch lon from rainfall where depth is greater than the maximum of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005727 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: lat, depth, reading, level
Sensor: air_quality | fields: unit, value, qc, lon
Task: Get depth from rainfall where qc appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005728 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: type, qc, unit, ts
Sensor: soil_moisture | fields: type, ts, depth, unit
Task: Fetch value from air_quality where type exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005729 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: value, lat, reading, lon
Sensor: frost | fields: ts, lat, depth, unit
Task: Get lon from uv_index where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005730 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, value, unit, level
Sensor: pressure | fields: depth, value, type, unit
Task: Get level from snow_depth where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005731 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: value, unit, depth, lat
Sensor: turbidity | fields: value, unit, ts, qc
Task: Fetch depth from evaporation where reading is greater than the maximum of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005732 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, type, lat, lon
Sensor: evaporation | fields: lon, qc, ts, value
Task: Retrieve depth from soil_moisture that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005733 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lat, qc, unit, reading
Sensor: frost | fields: depth, lat, value, type
Task: Fetch level from uv_index where qc exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005734 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: type, reading, unit, ts
Sensor: temperature | fields: ts, value, level, depth
Task: Retrieve reading from air_quality with value above the AVG(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005735 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, lat, lon, reading
Sensor: temperature | fields: unit, ts, reading, level
Task: Retrieve value from cloud_cover with value above the SUM(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005736 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, reading, lon, qc
Sensor: sunlight | fields: lon, reading, lat, level
Task: Retrieve depth from temperature whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005737 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: unit, depth, qc, type
Sensor: visibility | fields: lat, depth, type, ts
Task: Retrieve lat from evaporation that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005738 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: type, lon, lat, value
Sensor: dew_point | fields: ts, type, value, level
Task: Get value from evaporation where qc appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005739 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: level, ts, value, reading
Sensor: drought_index | fields: qc, level, unit, depth
Task: Get value from humidity where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005740 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: ts, type, unit, level
Sensor: wind_speed | fields: value, lat, reading, unit
Task: Fetch reading from visibility where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005741 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, type, lon, depth
Sensor: rainfall | fields: unit, level, lat, value
Task: Get lat from snow_depth where unit appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005742 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: value, depth, lon, reading
Sensor: turbidity | fields: lat, type, unit, reading
Task: Retrieve reading from wind_speed that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005743 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: depth, value, type, level
Sensor: visibility | fields: reading, depth, qc, lon
Task: Get level from pressure where value exceeds the count of value from visibility for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005744 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, depth, value, level
Sensor: rainfall | fields: reading, level, value, lon
Task: Fetch lon from snow_depth where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005745 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, unit, ts, lat
Sensor: soil_moisture | fields: lat, unit, level, type
Task: Fetch value from frost that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005746 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, value, ts, type
Sensor: dew_point | fields: lat, value, reading, unit
Task: Fetch level from lightning where reading is greater than the minimum of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005747 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, qc, value, type
Sensor: soil_moisture | fields: type, depth, ts, value
Task: Retrieve reading from wind_speed that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005748 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, depth, level, value
Sensor: uv_index | fields: ts, qc, lat, lon
Task: Retrieve reading from evaporation that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005749 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, lon, lat, qc
Sensor: sunlight | fields: value, lat, unit, lon
Task: Retrieve depth from wind_speed whose type is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005750 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: reading, unit, value, lon
Sensor: uv_index | fields: lon, type, ts, qc
Task: Get depth from rainfall where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005751 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: value, level, qc, ts
Sensor: lightning | fields: unit, ts, qc, type
Task: Fetch lat from uv_index where depth is greater than the minimum of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005752 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: qc, type, value, ts
Sensor: soil_moisture | fields: unit, level, qc, reading
Task: Retrieve reading from frost with depth above the MAX(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005753 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: qc, reading, lat, ts
Sensor: humidity | fields: qc, lon, ts, level
Task: Retrieve depth from visibility whose depth is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005754 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: qc, unit, reading, value
Sensor: frost | fields: reading, unit, value, lat
Task: Retrieve lon from temperature that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005755 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, type, ts, qc
Sensor: dew_point | fields: depth, value, type, lon
Task: Get level from soil_moisture where depth exceeds the total depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005756 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, type, qc, value
Sensor: visibility | fields: lat, type, reading, lon
Task: Retrieve value from snow_depth with value above the MAX(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005757 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, qc, ts, depth
Sensor: frost | fields: value, unit, lat, reading
Task: Fetch depth from wind_speed that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005758 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: depth, lon, ts, value
Sensor: frost | fields: depth, lon, type, reading
Task: Fetch reading from turbidity where type exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005759 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: level, reading, lat, type
Sensor: drought_index | fields: level, depth, unit, reading
Task: Fetch lon from sunlight where reading is greater than the count of of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005760 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: type, lat, qc, reading
Sensor: temperature | fields: qc, reading, value, depth
Task: Fetch level from humidity where unit exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005761 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, lon, unit, qc
Sensor: sunlight | fields: qc, reading, type, ts
Task: Get value from evaporation where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005762 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, qc, depth, level
Sensor: wind_speed | fields: qc, type, depth, ts
Task: Fetch reading from snow_depth where reading is greater than the count of of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005763 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: qc, type, reading, unit
Sensor: rainfall | fields: qc, type, unit, lon
Task: Retrieve level from humidity whose unit is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005764 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: value, level, depth, lon
Sensor: dew_point | fields: unit, level, type, value
Task: Retrieve lon from humidity with reading above the AVG(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005765 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: value, ts, reading, level
Sensor: sunlight | fields: reading, lat, type, unit
Task: Get reading from lightning where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005766 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, unit, level, qc
Sensor: dew_point | fields: qc, ts, reading, value
Task: Retrieve lat from snow_depth whose ts is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005767 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, qc, ts, type
Sensor: cloud_cover | fields: reading, level, value, unit
Task: Retrieve value from soil_moisture whose type is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005768 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: unit, depth, value, lat
Sensor: turbidity | fields: qc, depth, ts, level
Task: Retrieve value from pressure with value above the SUM(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005769 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, unit, type, level
Sensor: evaporation | fields: unit, value, reading, qc
Task: Fetch lat from turbidity where value is greater than the average of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005770 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lat, type, level, ts
Sensor: lightning | fields: lat, qc, value, depth
Task: Get level from visibility where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005771 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, level, value, lat
Sensor: humidity | fields: type, ts, unit, level
Task: Get lat from drought_index where depth appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005772 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, ts, lat, type
Sensor: dew_point | fields: ts, reading, lat, level
Task: Retrieve depth from cloud_cover that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005773 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, value, level, qc
Sensor: humidity | fields: qc, reading, unit, depth
Task: Retrieve lat from pressure that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005774 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, type, unit, qc
Sensor: lightning | fields: lon, ts, type, level
Task: Retrieve reading from pressure with reading above the SUM(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005775 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, lat, depth, unit
Sensor: visibility | fields: lat, value, type, unit
Task: Retrieve lat from temperature whose depth is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005776 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: qc, type, unit, depth
Sensor: air_quality | fields: lat, qc, ts, unit
Task: Retrieve level from humidity whose type is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005777 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: type, lon, qc, unit
Sensor: frost | fields: level, lat, value, depth
Task: Retrieve value from temperature whose unit is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005778 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: level, depth, reading, type
Sensor: lightning | fields: qc, ts, type, level
Task: Get level from snow_depth where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005779 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, lat, type, lon
Sensor: temperature | fields: value, ts, lon, type
Task: Fetch reading from cloud_cover where depth is greater than the maximum of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005780 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: reading, qc, level, lat
Sensor: pressure | fields: ts, depth, reading, qc
Task: Retrieve lat from sunlight with value above the MIN(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005781 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: ts, value, lat, reading
Sensor: pressure | fields: depth, value, lon, reading
Task: Fetch lat from humidity that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005782 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: reading, lat, qc, value
Sensor: temperature | fields: value, reading, lat, lon
Task: Retrieve value from uv_index with depth above the AVG(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005783 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: value, lat, reading, level
Sensor: drought_index | fields: level, ts, qc, lon
Task: Fetch level from frost where unit exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005784 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, ts, value, reading
Sensor: visibility | fields: reading, type, depth, lon
Task: Retrieve reading from soil_moisture whose unit is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005785 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: ts, type, unit, lat
Sensor: turbidity | fields: value, lat, ts, qc
Task: Get reading from lightning where value exceeds the maximum reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005786 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: reading, unit, depth, type
Sensor: snow_depth | fields: depth, lon, reading, ts
Task: Get lon from temperature where type appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005787 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: value, reading, ts, depth
Sensor: temperature | fields: unit, ts, type, depth
Task: Retrieve value from snow_depth with depth above the AVG(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005788 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: lat, unit, ts, type
Sensor: sunlight | fields: type, unit, qc, lon
Task: Fetch reading from drought_index where reading is greater than the count of of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005789 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lon, depth, value, lat
Sensor: soil_moisture | fields: value, ts, reading, lat
Task: Get value from air_quality where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005790 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: type, lon, value, reading
Sensor: snow_depth | fields: ts, lon, depth, qc
Task: Retrieve lon from turbidity with reading above the MAX(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005791 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: reading, qc, value, depth
Sensor: rainfall | fields: type, qc, ts, level
Task: Retrieve value from pressure that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005792 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: level, lon, reading, ts
Sensor: evaporation | fields: lat, lon, value, level
Task: Get lon from drought_index where value exceeds the minimum depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005793 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, lat, lon, qc
Sensor: visibility | fields: reading, type, unit, lon
Task: Retrieve depth from wind_speed that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005794 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, depth, lat, type
Sensor: lightning | fields: value, type, qc, unit
Task: Retrieve lon from soil_moisture whose qc is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005795 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: level, type, value, unit
Sensor: wind_speed | fields: value, level, qc, lat
Task: Retrieve depth from turbidity that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005796 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: level, lon, value, lat
Sensor: pressure | fields: reading, type, level, lon
Task: Retrieve level from air_quality whose unit is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005797 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: type, qc, unit, ts
Sensor: temperature | fields: qc, value, ts, depth
Task: Retrieve value from wind_speed that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005798 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: level, lon, depth, value
Sensor: frost | fields: depth, type, qc, unit
Task: Get lat from sunlight where depth exceeds the count of depth from frost for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.