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: frost | code: mst | fields: level, ts, unit, lon
Sensor: evaporation | fields: ts, lat, value, level
Task: Retrieve depth from frost whose unit is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053000 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: level, ts, reading, qc
Sensor: temperature | fields: ts, depth, lat, qc
Task: Fetch lon from air_quality that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053001 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: level, lon, ts, qc
Sensor: soil_moisture | fields: ts, type, level, depth
Task: Retrieve depth from air_quality with value above the MIN(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053002 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, level, type, depth
Sensor: temperature | fields: depth, ts, unit, type
Task: Retrieve value from snow_depth with reading above the SUM(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053003 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, value, lon, qc
Sensor: humidity | fields: reading, value, unit, level
Task: Get reading from drought_index where value exceeds the minimum reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053004 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: unit, depth, value, ts
Sensor: air_quality | fields: level, type, qc, unit
Task: Fetch lon from dew_point where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053005 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, depth, reading, unit
Sensor: drought_index | fields: lon, reading, level, ts
Task: Retrieve level from uv_index that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053006 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: reading, ts, type, lon
Sensor: snow_depth | fields: lon, unit, reading, value
Task: Fetch value from humidity where reading is greater than the minimum of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053007 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: depth, value, level, type
Sensor: turbidity | fields: type, unit, lat, lon
Task: Retrieve depth from humidity whose ts is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053008 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lat, level, lon, depth
Sensor: sunlight | fields: depth, type, reading, unit
Task: Get depth from pressure where ts appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053009 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: qc, type, lat, value
Sensor: snow_depth | fields: unit, lon, level, qc
Task: Retrieve value from rainfall whose depth is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053010 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: type, value, level, depth
Sensor: drought_index | fields: reading, type, level, value
Task: Get lat from humidity where type appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053011 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: qc, depth, unit, value
Sensor: pressure | fields: value, reading, lon, ts
Task: Retrieve reading from air_quality whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053012 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, depth, unit, qc
Sensor: rainfall | fields: value, qc, level, depth
Task: Get reading from wind_speed where reading exceeds the total value from rainfall for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053013 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: ts, lon, lat, qc
Sensor: drought_index | fields: ts, lat, reading, qc
Task: Get value from frost where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053014 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: value, type, ts, reading
Sensor: humidity | fields: level, type, reading, depth
Task: Fetch lat from temperature that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053015 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, level, ts, value
Sensor: uv_index | fields: type, ts, level, qc
Task: Retrieve lat from soil_moisture whose depth is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053016 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: value, level, type, ts
Sensor: frost | fields: value, type, depth, lon
Task: Get reading from sunlight where value exceeds the minimum reading from frost for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053017 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lat, type, unit, value
Sensor: sunlight | fields: level, lat, depth, type
Task: Get lat from turbidity where reading exceeds the average depth from sunlight for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053018 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, reading, depth, qc
Sensor: frost | fields: ts, level, depth, qc
Task: Get level from soil_moisture where ts appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053019 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: unit, value, lon, depth
Sensor: wind_speed | fields: value, lat, qc, ts
Task: Retrieve level from pressure that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053020 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lat, lon, qc, ts
Sensor: humidity | fields: lat, lon, reading, unit
Task: Fetch reading from dew_point where depth is greater than the maximum of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053021 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: unit, level, value, qc
Sensor: sunlight | fields: unit, lat, type, lon
Task: Retrieve lon from frost whose ts is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053022 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, type, value, depth
Sensor: uv_index | fields: reading, lat, depth, value
Task: Fetch lon from soil_moisture where reading is greater than the average of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053023 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: value, lon, level, type
Sensor: humidity | fields: level, unit, depth, type
Task: Fetch lon from air_quality where value is greater than the maximum of reading in humidity for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053024 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: type, reading, ts, qc
Sensor: humidity | fields: type, depth, lon, qc
Task: Retrieve value from wind_speed that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053025 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: value, qc, ts, reading
Sensor: sunlight | fields: lon, lat, qc, unit
Task: Get value from evaporation where unit appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053026 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: level, type, reading, lon
Sensor: humidity | fields: value, depth, qc, unit
Task: Retrieve value from visibility whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053027 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lon, value, unit, qc
Sensor: wind_speed | fields: lat, value, qc, level
Task: Fetch value from lightning that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053028 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: level, value, depth, qc
Sensor: wind_speed | fields: reading, unit, value, lat
Task: Get lon from visibility where unit appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053029 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, type, lat, ts
Sensor: turbidity | fields: level, value, depth, reading
Task: Retrieve value from soil_moisture with value above the MIN(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053030 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: type, qc, unit, lat
Sensor: wind_speed | fields: qc, reading, lat, lon
Task: Retrieve depth from temperature that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053031 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: level, unit, value, lat
Sensor: cloud_cover | fields: unit, type, value, lat
Task: Fetch depth from rainfall where depth is greater than the count of of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053032 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: qc, level, reading, ts
Sensor: soil_moisture | fields: reading, type, lat, qc
Task: Fetch depth from rainfall where reading is greater than the average of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053033 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: type, lon, value, qc
Sensor: drought_index | fields: depth, unit, lat, value
Task: Retrieve value from temperature with depth above the AVG(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053034 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: ts, unit, reading, lon
Sensor: turbidity | fields: reading, type, lon, level
Task: Fetch depth from dew_point where value is greater than the maximum of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053035 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: value, level, lon, lat
Sensor: cloud_cover | fields: qc, reading, value, lat
Task: Retrieve depth from turbidity whose unit is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053036 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, reading, unit, level
Sensor: sunlight | fields: lat, unit, lon, type
Task: Get lat from snow_depth where value exceeds the total reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053037 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, depth, reading, lon
Sensor: frost | fields: lon, reading, value, lat
Task: Retrieve depth from sunlight that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053038 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, qc, reading, unit
Sensor: sunlight | fields: unit, value, depth, level
Task: Get reading from pressure where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053039 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: value, depth, ts, lat
Sensor: pressure | fields: level, type, lon, depth
Task: Fetch level from rainfall that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053040 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: type, lon, lat, ts
Sensor: humidity | fields: level, type, reading, unit
Task: Get depth from drought_index where depth exceeds the maximum reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053041 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, value, qc, lon
Sensor: drought_index | fields: ts, type, depth, level
Task: Fetch lat from soil_moisture that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053042 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lat, level, ts, unit
Sensor: cloud_cover | fields: value, type, unit, level
Task: Fetch lat from temperature where depth exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053043 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, ts, lon, type
Sensor: dew_point | fields: reading, qc, lat, value
Task: Fetch lon from rainfall where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053044 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: depth, unit, qc, type
Sensor: soil_moisture | fields: lon, level, unit, type
Task: Retrieve level from rainfall that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053045 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: ts, reading, depth, value
Sensor: uv_index | fields: reading, qc, ts, lon
Task: Fetch lat from visibility where ts exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053046 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: type, lon, lat, value
Sensor: drought_index | fields: qc, lon, lat, level
Task: Get depth from visibility where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053047 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lon, lat, value, type
Sensor: pressure | fields: unit, qc, lon, type
Task: Get value from frost where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053048 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: reading, type, qc, lon
Sensor: wind_speed | fields: level, unit, reading, depth
Task: Fetch depth from rainfall where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053049 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, lon, lat, ts
Sensor: temperature | fields: ts, depth, lat, type
Task: Retrieve reading from pressure that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053050 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: unit, lon, ts, reading
Sensor: lightning | fields: ts, reading, lat, qc
Task: Retrieve reading from visibility that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053051 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: qc, unit, lon, lat
Sensor: sunlight | fields: level, reading, unit, value
Task: Retrieve lat from frost with depth above the COUNT(value) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053052 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: depth, level, unit, lat
Sensor: soil_moisture | fields: qc, level, value, ts
Task: Fetch level from visibility where ts exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053053 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, lon, type, reading
Sensor: dew_point | fields: unit, ts, level, lat
Task: Fetch level from pressure where value is greater than the maximum of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053054 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: depth, ts, lat, level
Sensor: frost | fields: type, lat, level, reading
Task: Retrieve lon from evaporation that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"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_053055 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: value, type, qc, level
Sensor: soil_moisture | fields: ts, unit, depth, reading
Task: Fetch lon from frost where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053056 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, lat, reading, level
Sensor: visibility | fields: reading, unit, lon, lat
Task: Get level from cloud_cover where depth exceeds the count of depth from visibility for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053057 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: unit, type, level, ts
Sensor: snow_depth | fields: lat, unit, depth, type
Task: Get value from air_quality where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053058 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lat, reading, depth, lon
Sensor: rainfall | fields: unit, type, qc, ts
Task: Get value from visibility where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053059 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: level, depth, unit, lon
Sensor: sunlight | fields: type, ts, reading, qc
Task: Retrieve lat from temperature whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053060 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, lon, value, lat
Sensor: frost | fields: ts, lon, reading, qc
Task: Get lat from snow_depth where reading exceeds the maximum reading from frost for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053061 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: ts, lon, reading, qc
Sensor: wind_speed | fields: level, unit, ts, qc
Task: Fetch lon from frost that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053062 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: type, level, qc, depth
Sensor: temperature | fields: level, qc, ts, lon
Task: Retrieve value from air_quality whose qc is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053063 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: unit, ts, value, lon
Sensor: turbidity | fields: unit, level, qc, value
Task: Fetch reading from air_quality where ts exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053064 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, reading, qc, lon
Sensor: pressure | fields: unit, type, lon, level
Task: Retrieve level from frost with value above the MIN(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053065 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lon, unit, type, level
Sensor: temperature | fields: ts, value, type, depth
Task: Retrieve lat from air_quality that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053066 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: level, value, ts, lat
Sensor: air_quality | fields: depth, qc, lat, level
Task: Fetch reading from evaporation where depth is greater than the count of of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053067 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, lon, unit, level
Sensor: snow_depth | fields: qc, value, lat, reading
Task: Retrieve reading from dew_point that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053068 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lat, lon, type, depth
Sensor: sunlight | fields: unit, qc, lon, depth
Task: Retrieve depth from visibility whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053069 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: type, ts, lon, level
Sensor: rainfall | fields: unit, ts, value, lat
Task: Fetch depth from pressure where depth is greater than the count of of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053070 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, qc, type, ts
Sensor: uv_index | fields: ts, reading, type, depth
Task: Retrieve reading from cloud_cover with value above the AVG(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053071 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lat, qc, value, reading
Sensor: soil_moisture | fields: unit, level, type, depth
Task: Fetch level from dew_point that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053072 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: type, reading, ts, qc
Sensor: rainfall | fields: lon, lat, level, type
Task: Retrieve reading from evaporation that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053073 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, depth, unit, reading
Sensor: soil_moisture | fields: lat, type, reading, depth
Task: Retrieve level from dew_point with reading above the SUM(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053074 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lon, ts, level, depth
Sensor: visibility | fields: value, ts, reading, lon
Task: Get value from temperature where ts appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053075 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: level, qc, depth, reading
Sensor: turbidity | fields: depth, value, lon, lat
Task: Fetch lon from evaporation where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053076 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: ts, lat, level, unit
Sensor: frost | fields: unit, lat, depth, type
Task: Retrieve value from rainfall with reading above the MAX(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053077 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, unit, level, ts
Sensor: drought_index | fields: value, lat, level, qc
Task: Retrieve value from rainfall that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053078 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: depth, type, value, reading
Sensor: lightning | fields: lat, unit, depth, type
Task: Get value from drought_index where value exceeds the minimum depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053079 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: depth, lat, reading, unit
Sensor: cloud_cover | fields: value, type, unit, level
Task: Get reading from evaporation where ts appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053080 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: value, qc, type, ts
Sensor: dew_point | fields: type, unit, level, depth
Task: Fetch lat from air_quality where reading is greater than the count of of reading in dew_point for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053081 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, depth, qc, unit
Sensor: uv_index | fields: lon, ts, qc, depth
Task: Retrieve value from wind_speed whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053082 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: value, lon, level, qc
Sensor: air_quality | fields: qc, level, depth, lon
Task: Fetch reading from rainfall where value is greater than the total of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053083 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: value, lat, reading, type
Sensor: snow_depth | fields: value, type, lat, lon
Task: Retrieve lon from drought_index whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053084 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: level, lat, lon, unit
Sensor: air_quality | fields: reading, lon, qc, type
Task: Retrieve reading from uv_index with reading above the COUNT(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053085 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, qc, unit, ts
Sensor: cloud_cover | fields: reading, lon, depth, unit
Task: Get depth from pressure where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053086 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: type, unit, level, lat
Sensor: wind_speed | fields: depth, reading, lat, lon
Task: Fetch depth from air_quality where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053087 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: unit, qc, value, lon
Sensor: rainfall | fields: value, level, unit, type
Task: Get depth from temperature where depth exceeds the average value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053088 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: unit, lat, lon, level
Sensor: frost | fields: lat, lon, qc, reading
Task: Retrieve reading from air_quality whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053089 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, level, depth, qc
Sensor: drought_index | fields: type, reading, ts, depth
Task: Retrieve depth from cloud_cover whose unit is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053090 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: ts, lon, depth, value
Sensor: snow_depth | fields: depth, lon, level, ts
Task: Get value from humidity where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053091 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: unit, type, value, lon
Sensor: drought_index | fields: unit, ts, depth, level
Task: Get level from frost where type appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053092 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, ts, type, unit
Sensor: temperature | fields: unit, ts, level, lon
Task: Retrieve reading from cloud_cover with depth above the MIN(value) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053093 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, level, depth, lon
Sensor: frost | fields: lat, depth, level, qc
Task: Retrieve depth from air_quality with depth above the MIN(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053094 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lon, unit, level, lat
Sensor: visibility | fields: ts, lon, value, reading
Task: Get value from uv_index where depth exceeds the maximum reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053095 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, value, depth, lat
Sensor: dew_point | fields: value, depth, qc, ts
Task: Fetch level from visibility that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053096 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lat, level, ts, type
Sensor: visibility | fields: lat, type, ts, qc
Task: Fetch level from turbidity where value is greater than the maximum of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053097 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: value, qc, depth, unit
Sensor: temperature | fields: depth, lat, level, type
Task: Fetch lat from visibility where reading is greater than the count of of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053098 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, depth, lon, ts
Sensor: temperature | fields: depth, qc, unit, type
Task: Retrieve reading from snow_depth with reading above the MAX(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.