variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: visibility | code: prt | fields: type, depth, unit, value
Sensor: humidity | fields: reading, depth, value, qc
Task: Fetch depth from visibility where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004900 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: value, lon, unit, ts
Sensor: wind_speed | fields: ts, depth, lat, lon
Task: Fetch depth from uv_index that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004901 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lon, unit, type, value
Sensor: evaporation | fields: level, lon, ts, value
Task: Fetch level from frost that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004902 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: qc, type, level, value
Sensor: sunlight | fields: ts, depth, reading, lat
Task: Retrieve value from temperature with value above the COUNT(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004903 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: depth, unit, level, value
Sensor: soil_moisture | fields: level, ts, reading, lat
Task: Get lat from visibility where unit appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004904 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, depth, unit, value
Sensor: frost | fields: ts, reading, type, value
Task: Get depth from humidity where depth exceeds the total depth from frost for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004905 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, reading, unit, level
Sensor: rainfall | fields: level, ts, lat, value
Task: Fetch lon from visibility where reading is greater than the total of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004906 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: qc, lon, unit, level
Sensor: snow_depth | fields: depth, type, value, unit
Task: Get depth from pressure where depth exceeds the maximum depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004907 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, lon, reading, unit
Sensor: dew_point | fields: lat, depth, qc, reading
Task: Fetch lat from snow_depth that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004908 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: value, lon, ts, unit
Sensor: lightning | fields: reading, type, qc, lon
Task: Fetch lon from visibility that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004909 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: level, lon, reading, type
Sensor: frost | fields: reading, type, depth, qc
Task: Fetch lon from temperature where qc exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004910 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, value, ts, lat
Sensor: temperature | fields: lon, depth, type, value
Task: Retrieve lat from dew_point with depth above the MAX(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004911 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, lon, lat, value
Sensor: cloud_cover | fields: type, level, lon, value
Task: Get depth from snow_depth where reading exceeds the maximum reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004912 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, unit, ts, value
Sensor: wind_speed | fields: depth, lat, ts, lon
Task: Fetch value from rainfall where reading is greater than the average of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004913 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, level, unit, value
Sensor: drought_index | fields: depth, unit, level, reading
Task: Retrieve lat from wind_speed with depth above the SUM(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"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_004914 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: qc, level, depth, value
Sensor: rainfall | fields: depth, reading, lat, lon
Task: Retrieve value from frost with depth above the COUNT(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004915 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, depth, reading, ts
Sensor: dew_point | fields: depth, ts, reading, unit
Task: Fetch lat from air_quality where value is greater than the minimum of reading in dew_point for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004916 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: lon, ts, depth, level
Sensor: air_quality | fields: type, ts, value, reading
Task: Retrieve reading from sunlight with depth above the AVG(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004917 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, reading, level, lon
Sensor: sunlight | fields: qc, lat, unit, lon
Task: Retrieve level from wind_speed whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004918 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, qc, lon, ts
Sensor: frost | fields: ts, reading, lon, qc
Task: Fetch reading from cloud_cover that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004919 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: unit, reading, lon, lat
Sensor: turbidity | fields: level, lon, ts, type
Task: Retrieve lon from uv_index that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004920 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, value, qc, level
Sensor: lightning | fields: reading, depth, qc, ts
Task: Get lon from snow_depth where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004921 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, qc, depth, value
Sensor: frost | fields: depth, ts, value, lat
Task: Fetch level from dew_point where ts exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004922 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, qc, lat, level
Sensor: cloud_cover | fields: lon, lat, ts, depth
Task: Fetch level from soil_moisture where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004923 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, reading, type, unit
Sensor: sunlight | fields: type, lat, level, depth
Task: Fetch value from cloud_cover where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004924 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: ts, depth, lat, unit
Sensor: rainfall | fields: type, depth, level, lon
Task: Fetch reading from lightning where reading is greater than the maximum of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004925 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, depth, unit, level
Sensor: evaporation | fields: lat, lon, reading, ts
Task: Fetch lat from visibility where reading is greater than the total of reading in evaporation for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004926 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: level, value, lon, lat
Sensor: snow_depth | fields: ts, depth, unit, reading
Task: Fetch lon from sunlight where value is greater than the average of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004927 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: value, type, lon, depth
Sensor: cloud_cover | fields: value, reading, qc, lon
Task: Retrieve level from air_quality whose qc is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004928 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lon, depth, type, value
Sensor: pressure | fields: qc, lat, depth, reading
Task: Get lat from air_quality where depth exceeds the average depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004929 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: type, lon, depth, unit
Sensor: drought_index | fields: level, lat, value, type
Task: Fetch value from wind_speed where value is greater than the maximum of reading in drought_index for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004930 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: reading, unit, value, lat
Sensor: wind_speed | fields: type, depth, lon, lat
Task: Get lon from evaporation where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004931 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, type, lat, value
Sensor: pressure | fields: qc, level, value, lat
Task: Get value from wind_speed where type appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004932 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: lat, unit, value, depth
Sensor: air_quality | fields: depth, type, lat, reading
Task: Retrieve lat from sunlight whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004933 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, reading, type, qc
Sensor: uv_index | fields: lon, depth, type, ts
Task: Get lat from temperature where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004934 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, lon, depth, type
Sensor: dew_point | fields: level, value, qc, unit
Task: Fetch reading from humidity that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004935 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: level, unit, value, lat
Sensor: pressure | fields: lon, unit, lat, level
Task: Get lat from drought_index where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004936 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, depth, value, level
Sensor: turbidity | fields: qc, level, depth, reading
Task: Get value from cloud_cover where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004937 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, type, level, lat
Sensor: cloud_cover | fields: type, unit, lat, lon
Task: Fetch reading from evaporation where unit exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004938 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: unit, value, lon, lat
Sensor: turbidity | fields: qc, type, lat, lon
Task: Retrieve lat from rainfall whose unit is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004939 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: depth, type, qc, level
Sensor: air_quality | fields: value, level, unit, reading
Task: Retrieve depth from humidity that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004940 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lat, lon, qc, type
Sensor: turbidity | fields: type, unit, ts, value
Task: Retrieve reading from sunlight with depth above the SUM(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004941 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: type, qc, lat, value
Sensor: pressure | fields: lon, lat, type, ts
Task: Retrieve depth from humidity that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004942 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, qc, lat, unit
Sensor: wind_speed | fields: depth, ts, value, type
Task: Get reading from soil_moisture where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004943 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, qc, ts, lon
Sensor: temperature | fields: unit, ts, level, depth
Task: Fetch lat from lightning where reading is greater than the count of of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004944 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lat, level, type, lon
Sensor: rainfall | fields: ts, qc, reading, lon
Task: Retrieve depth from humidity whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004945 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, depth, value, ts
Sensor: sunlight | fields: qc, lat, value, unit
Task: Retrieve lon from lightning whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004946 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, level, ts, unit
Sensor: uv_index | fields: type, unit, ts, qc
Task: Fetch lat from humidity where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004947 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, value, level, qc
Sensor: visibility | fields: depth, level, unit, qc
Task: Fetch reading from wind_speed where ts exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004948 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, value, depth, unit
Sensor: dew_point | fields: qc, level, reading, value
Task: Get value from drought_index where ts appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004949 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: reading, lat, unit, lon
Sensor: soil_moisture | fields: depth, lat, lon, value
Task: Fetch depth from evaporation that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004950 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: ts, lon, lat, depth
Sensor: rainfall | fields: value, type, lat, reading
Task: Fetch depth from humidity where depth is greater than the minimum of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004951 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lat, qc, lon, value
Sensor: lightning | fields: unit, value, ts, depth
Task: Get depth from evaporation where ts appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004952 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: ts, level, type, unit
Sensor: dew_point | fields: unit, qc, lat, depth
Task: Fetch level from humidity where type exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004953 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, lon, unit, depth
Sensor: visibility | fields: ts, lon, depth, reading
Task: Fetch level from wind_speed that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004954 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, ts, lon, level
Sensor: humidity | fields: value, level, type, ts
Task: Retrieve level from evaporation with depth above the SUM(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004955 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: qc, type, lat, level
Sensor: dew_point | fields: unit, lon, ts, lat
Task: Fetch depth from frost where ts exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004956 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, value, lat, level
Sensor: temperature | fields: reading, type, value, lon
Task: Fetch lat from turbidity where reading is greater than the total of reading in temperature for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004957 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: unit, level, type, ts
Sensor: humidity | fields: value, ts, reading, lat
Task: Retrieve level from rainfall whose qc is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004958 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: depth, qc, value, ts
Sensor: air_quality | fields: lon, level, lat, unit
Task: Fetch lon from temperature where depth is greater than the minimum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004959 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, ts, depth, qc
Sensor: cloud_cover | fields: lon, depth, qc, unit
Task: Get lat from soil_moisture where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004960 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: unit, lat, lon, ts
Sensor: sunlight | fields: qc, depth, type, lon
Task: Get value from lightning where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004961 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: lon, reading, value, level
Sensor: soil_moisture | fields: depth, value, lat, ts
Task: Fetch value from frost where depth is greater than the count of of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004962 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: depth, ts, reading, level
Sensor: visibility | fields: lat, ts, level, value
Task: Retrieve value from frost with reading above the COUNT(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004963 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: ts, lon, value, type
Sensor: evaporation | fields: type, value, lat, unit
Task: Fetch lon from visibility where depth is greater than the maximum of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004964 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: value, lat, unit, ts
Sensor: sunlight | fields: lat, depth, value, type
Task: Get value from rainfall where depth appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004965 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: level, lon, ts, value
Sensor: temperature | fields: level, depth, type, ts
Task: Fetch level from dew_point where type exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004966 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lat, reading, unit, ts
Sensor: rainfall | fields: lon, depth, ts, level
Task: Retrieve lat from turbidity whose ts is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004967 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lon, lat, unit, qc
Sensor: dew_point | fields: type, lat, value, qc
Task: Fetch lat from turbidity where qc exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004968 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: lat, type, level, qc
Sensor: wind_speed | fields: lon, qc, level, unit
Task: Fetch lat from humidity where depth exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004969 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: value, ts, unit, type
Sensor: pressure | fields: qc, value, level, depth
Task: Fetch lon from air_quality where unit exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004970 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: ts, value, type, lat
Sensor: uv_index | fields: ts, level, type, lon
Task: Fetch reading from sunlight where reading is greater than the minimum of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004971 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lat, ts, level, lon
Sensor: drought_index | fields: unit, lon, reading, type
Task: Retrieve lon from rainfall that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004972 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lat, reading, unit, lon
Sensor: soil_moisture | fields: type, reading, depth, value
Task: Fetch lon from humidity where depth is greater than the minimum of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004973 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, reading, lat, qc
Sensor: turbidity | fields: lon, lat, qc, type
Task: Get lat from pressure where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004974 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: qc, value, ts, level
Sensor: wind_speed | fields: ts, depth, unit, level
Task: Fetch reading from dew_point where ts exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004975 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, qc, lat, type
Sensor: air_quality | fields: level, lon, value, qc
Task: Retrieve depth from visibility with value above the MIN(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004976 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: level, lat, reading, value
Sensor: pressure | fields: type, ts, unit, level
Task: Retrieve lat from lightning whose unit is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004977 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: qc, unit, ts, depth
Sensor: visibility | fields: qc, level, depth, reading
Task: Retrieve lon from lightning that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004978 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: level, value, qc, depth
Sensor: humidity | fields: lon, type, depth, level
Task: Get value from turbidity where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004979 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lon, qc, depth, reading
Sensor: wind_speed | fields: type, value, lon, depth
Task: Get depth from visibility where qc appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004980 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: reading, value, lat, ts
Sensor: uv_index | fields: lat, type, depth, unit
Task: Fetch value from sunlight where value is greater than the total of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004981 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: level, value, lat, reading
Sensor: visibility | fields: unit, lon, level, qc
Task: Get level from air_quality where value exceeds the maximum reading from visibility for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004982 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: type, value, lon, reading
Sensor: soil_moisture | fields: value, reading, type, level
Task: Get reading from humidity where type appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004983 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: depth, type, reading, lon
Sensor: temperature | fields: level, type, reading, unit
Task: Retrieve reading from rainfall with depth above the MIN(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004984 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: level, lat, type, qc
Sensor: snow_depth | fields: type, level, value, lon
Task: Get depth from wind_speed where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004985 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, unit, type, reading
Sensor: evaporation | fields: qc, unit, lat, lon
Task: Fetch level from visibility where value is greater than the count of of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004986 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: unit, depth, level, qc
Sensor: snow_depth | fields: reading, lon, unit, depth
Task: Retrieve reading from frost whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004987 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, type, ts, lon
Sensor: snow_depth | fields: level, lat, type, reading
Task: Get level from cloud_cover where value exceeds the total depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004988 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lon, qc, unit, ts
Sensor: lightning | fields: level, value, type, qc
Task: Get lon from uv_index where depth exceeds the count of value from lightning for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004989 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, qc, lat, lon
Sensor: rainfall | fields: lat, type, value, ts
Task: Fetch level from visibility where unit exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004990 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, reading, level, lat
Sensor: rainfall | fields: level, lat, lon, type
Task: Retrieve value from evaporation that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004991 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lon, ts, lat, depth
Sensor: drought_index | fields: ts, type, unit, lon
Task: Retrieve value from uv_index with reading above the MAX(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004992 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, type, ts, lat
Sensor: evaporation | fields: depth, lat, ts, type
Task: Retrieve lon from dew_point with reading above the SUM(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004993 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: type, reading, qc, lon
Sensor: lightning | fields: ts, type, lat, reading
Task: Get depth from evaporation where reading exceeds the maximum value from lightning for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004994 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: unit, type, value, level
Sensor: uv_index | fields: value, qc, reading, lon
Task: Retrieve depth from dew_point with value above the COUNT(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004995 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, ts, lon, depth
Sensor: uv_index | fields: qc, level, unit, lat
Task: Retrieve lat from cloud_cover with value above the MAX(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004996 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: ts, qc, level, value
Sensor: humidity | fields: qc, level, depth, type
Task: Fetch lat from air_quality that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004997 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, ts, lat, qc
Sensor: visibility | fields: value, reading, lon, type
Task: Retrieve value from wind_speed whose ts is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004998 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: reading, lat, level, value
Sensor: soil_moisture | fields: level, reading, qc, lat
Task: Get lon from evaporation where qc appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.