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: ref | fields: lon, level, unit, value
Sensor: evaporation | fields: depth, reading, value, qc
Task: Fetch depth from frost where ts exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050200 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: ts, reading, lon, depth
Sensor: temperature | fields: depth, reading, qc, value
Task: Get depth from lightning where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050201 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: type, value, ts, lat
Sensor: evaporation | fields: unit, depth, qc, type
Task: Fetch value from temperature where depth is greater than the total of depth in evaporation for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"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_050202 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, reading, lat, lon
Sensor: turbidity | fields: qc, depth, level, ts
Task: Get lon from drought_index where reading exceeds the minimum depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050203 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: level, ts, lon, qc
Sensor: snow_depth | fields: depth, reading, level, type
Task: Get value from pressure where value exceeds the maximum value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050204 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, reading, level, unit
Sensor: snow_depth | fields: reading, qc, depth, level
Task: Get depth from cloud_cover where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050205 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, ts, qc, depth
Sensor: pressure | fields: value, lat, type, qc
Task: Retrieve lat from uv_index whose type is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050206 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, level, lon, value
Sensor: evaporation | fields: qc, depth, lon, value
Task: Retrieve lat from humidity with value above the SUM(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050207 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: ts, depth, reading, qc
Sensor: sunlight | fields: depth, type, reading, lon
Task: Get lat from evaporation where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050208 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, depth, lat, lon
Sensor: drought_index | fields: reading, depth, level, ts
Task: Retrieve lon from wind_speed whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050209 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: ts, depth, type, reading
Sensor: visibility | fields: value, type, reading, lon
Task: Get lon from uv_index where unit appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050210 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: value, ts, qc, reading
Sensor: pressure | fields: lat, reading, type, ts
Task: Retrieve lat from lightning whose depth is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050211 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: qc, unit, type, depth
Sensor: drought_index | fields: level, depth, type, lat
Task: Retrieve lat from temperature whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050212 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, reading, depth, type
Sensor: air_quality | fields: type, unit, reading, qc
Task: Retrieve value from soil_moisture with value above the MIN(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050213 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, lon, level, qc
Sensor: sunlight | fields: lon, type, lat, depth
Task: Get level from cloud_cover where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050214 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: value, type, unit, lon
Sensor: visibility | fields: qc, type, unit, level
Task: Fetch depth from dew_point where type exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050215 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: ts, lat, qc, reading
Sensor: air_quality | fields: ts, type, qc, lon
Task: Fetch reading from sunlight that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050216 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: reading, value, lat, type
Sensor: pressure | fields: reading, unit, lat, type
Task: Fetch reading from lightning where reading is greater than the count of of reading in pressure for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050217 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: unit, type, depth, ts
Sensor: evaporation | fields: lon, depth, lat, value
Task: Get depth from humidity where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050218 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: value, level, lat, ts
Sensor: rainfall | fields: level, lon, unit, type
Task: Fetch depth from evaporation where depth is greater than the count of of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050219 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: reading, qc, type, depth
Sensor: dew_point | fields: depth, lat, qc, ts
Task: Retrieve depth from evaporation whose type is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050220 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: unit, lon, type, ts
Sensor: humidity | fields: ts, type, unit, level
Task: Fetch depth from visibility where unit exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050221 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, ts, reading, level
Sensor: dew_point | fields: reading, depth, lat, qc
Task: Retrieve level from visibility that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050222 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, value, ts, depth
Sensor: sunlight | fields: ts, level, lat, value
Task: Get depth from dew_point where type appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050223 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: type, reading, ts, unit
Sensor: humidity | fields: lon, lat, unit, qc
Task: Retrieve reading from lightning whose depth is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050224 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, level, depth, lat
Sensor: snow_depth | fields: level, lon, reading, depth
Task: Retrieve level from evaporation with value above the COUNT(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050225 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: level, lon, type, unit
Sensor: humidity | fields: qc, type, unit, ts
Task: Get depth from drought_index where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050226 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, type, lon, level
Sensor: sunlight | fields: type, lon, lat, depth
Task: Fetch level from soil_moisture where depth is greater than the minimum of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050227 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: level, lat, depth, qc
Sensor: dew_point | fields: lon, value, depth, reading
Task: Retrieve reading from uv_index with reading above the AVG(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050228 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: level, reading, depth, lat
Sensor: wind_speed | fields: value, level, qc, lat
Task: Fetch depth from temperature where type exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050229 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: qc, unit, level, reading
Sensor: cloud_cover | fields: ts, lat, depth, lon
Task: Get value from temperature where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050230 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: type, qc, depth, level
Sensor: uv_index | fields: value, reading, unit, lat
Task: Fetch depth from humidity where value is greater than the maximum of depth in uv_index for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050231 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: level, ts, unit, value
Sensor: snow_depth | fields: lon, level, reading, ts
Task: Fetch level from humidity where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050232 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, lat, qc, unit
Sensor: lightning | fields: level, depth, qc, type
Task: Get lon from temperature where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050233 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: depth, qc, level, value
Sensor: turbidity | fields: type, lon, level, qc
Task: Retrieve lat from lightning that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050234 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: depth, lon, unit, lat
Sensor: temperature | fields: ts, lon, qc, level
Task: Get value from humidity where depth exceeds the minimum depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050235 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, level, ts, qc
Sensor: drought_index | fields: depth, lon, lat, qc
Task: Get value from pressure where depth appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050236 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: ts, reading, lon, type
Sensor: pressure | fields: type, lat, value, ts
Task: Fetch lon from dew_point where value is greater than the total of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050237 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: value, reading, unit, ts
Sensor: rainfall | fields: lat, value, level, type
Task: Retrieve level from wind_speed with value above the SUM(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050238 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: level, value, qc, type
Sensor: rainfall | fields: value, lat, reading, ts
Task: Fetch depth from dew_point that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050239 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: qc, ts, lon, level
Sensor: pressure | fields: lat, unit, ts, qc
Task: Retrieve depth from frost that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050240 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: level, lon, reading, value
Sensor: sunlight | fields: reading, lon, level, ts
Task: Fetch level from temperature where depth is greater than the count of of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050241 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: reading, ts, qc, lon
Sensor: turbidity | fields: qc, unit, value, depth
Task: Fetch depth from uv_index where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050242 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: ts, unit, qc, depth
Sensor: wind_speed | fields: type, level, value, depth
Task: Fetch level from humidity that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050243 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lat, depth, qc, type
Sensor: cloud_cover | fields: unit, type, value, lat
Task: Get lon from turbidity where value exceeds the maximum value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050244 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, level, depth, type
Sensor: air_quality | fields: reading, value, lon, depth
Task: Retrieve lon from soil_moisture that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050245 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, lon, level, lat
Sensor: pressure | fields: reading, level, ts, value
Task: Get reading from cloud_cover where reading exceeds the minimum reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050246 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, depth, type, level
Sensor: turbidity | fields: type, ts, depth, qc
Task: Fetch reading from evaporation where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050247 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: type, level, lon, ts
Sensor: sunlight | fields: ts, type, lon, lat
Task: Fetch value from visibility that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050248 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: level, lon, qc, depth
Sensor: sunlight | fields: lat, value, unit, lon
Task: Get depth from air_quality where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050249 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: ts, type, lon, qc
Sensor: pressure | fields: reading, value, level, ts
Task: Fetch value from turbidity where value is greater than the count of of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050250 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lat, depth, value, qc
Sensor: air_quality | fields: value, lon, unit, qc
Task: Fetch value from uv_index where reading is greater than the minimum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050251 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lon, level, type, ts
Sensor: rainfall | fields: unit, value, ts, level
Task: Get reading from drought_index where reading exceeds the average value from rainfall for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"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_050252 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, ts, depth, qc
Sensor: wind_speed | fields: reading, value, ts, lat
Task: Retrieve level from soil_moisture whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050253 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, depth, level, qc
Sensor: sunlight | fields: lon, depth, level, lat
Task: Get lat from wind_speed where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050254 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, type, lat, ts
Sensor: evaporation | fields: reading, level, qc, ts
Task: Retrieve depth from cloud_cover with depth above the MAX(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050255 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: reading, unit, lat, ts
Sensor: humidity | fields: type, unit, depth, ts
Task: Retrieve reading from lightning with depth above the MIN(reading) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050256 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: type, reading, qc, lon
Sensor: visibility | fields: depth, lon, unit, level
Task: Get value from turbidity where reading exceeds the count of depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050257 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: qc, reading, depth, unit
Sensor: turbidity | fields: ts, qc, unit, level
Task: Retrieve lon from pressure whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050258 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, reading, unit, level
Sensor: humidity | fields: type, lon, depth, level
Task: Get lat from cloud_cover where type appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050259 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, type, lat, reading
Sensor: dew_point | fields: lat, ts, value, level
Task: Retrieve value from visibility that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050260 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: value, reading, depth, type
Sensor: rainfall | fields: lon, unit, depth, type
Task: Get lon from sunlight where depth exceeds the total value from rainfall for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050261 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lat, unit, qc, type
Sensor: drought_index | fields: value, unit, qc, type
Task: Get lat from humidity where depth exceeds the total value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050262 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: lon, ts, unit, value
Sensor: drought_index | fields: level, lat, lon, qc
Task: Get depth from rainfall where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050263 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: depth, type, qc, value
Sensor: air_quality | fields: value, lat, unit, reading
Task: Fetch lat from pressure that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050264 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: reading, lon, type, depth
Sensor: uv_index | fields: reading, qc, ts, unit
Task: Fetch value from rainfall where depth exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050265 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: depth, lon, reading, type
Sensor: snow_depth | fields: level, unit, lon, value
Task: Get depth from lightning where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050266 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, value, qc, unit
Sensor: dew_point | fields: ts, qc, value, unit
Task: Get value from snow_depth where reading exceeds the average reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050267 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, qc, lon, unit
Sensor: humidity | fields: qc, reading, type, ts
Task: Fetch depth from pressure where unit exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050268 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, ts, reading, depth
Sensor: air_quality | fields: unit, level, ts, depth
Task: Get level from soil_moisture where value exceeds the total reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050269 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, qc, value, lon
Sensor: frost | fields: lon, lat, unit, value
Task: Get value from wind_speed where type appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050270 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, level, type, lon
Sensor: air_quality | fields: level, type, lat, qc
Task: Fetch value from dew_point where depth is greater than the total of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050271 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: lon, depth, lat, type
Sensor: lightning | fields: depth, unit, level, qc
Task: Fetch depth from sunlight where value is greater than the average of reading in lightning for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050272 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: reading, depth, ts, level
Sensor: evaporation | fields: unit, type, qc, level
Task: Get level from humidity where depth exceeds the average depth from evaporation for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050273 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, lat, lon, value
Sensor: soil_moisture | fields: value, reading, type, qc
Task: Fetch depth from frost where value is greater than the total of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050274 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: value, reading, qc, unit
Sensor: soil_moisture | fields: depth, qc, lon, value
Task: Retrieve depth from turbidity with depth above the SUM(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050275 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, value, qc, reading
Sensor: rainfall | fields: reading, qc, value, lat
Task: Fetch value from wind_speed that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050276 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: value, type, depth, lon
Sensor: dew_point | fields: lat, ts, type, reading
Task: Fetch depth from uv_index that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050277 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, reading, level, qc
Sensor: uv_index | fields: lat, type, qc, lon
Task: Get lon from snow_depth where reading exceeds the maximum value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050278 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: value, qc, reading, level
Sensor: lightning | fields: reading, lon, qc, ts
Task: Fetch reading from wind_speed where value is greater than the minimum of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"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_050279 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: unit, lon, level, depth
Sensor: cloud_cover | fields: lon, ts, type, level
Task: Get value from visibility where reading exceeds the average reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"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_050280 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: ts, level, unit, lat
Sensor: cloud_cover | fields: value, type, ts, level
Task: Get lon from humidity where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050281 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: value, unit, ts, reading
Sensor: evaporation | fields: qc, reading, ts, depth
Task: Retrieve value from visibility that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050282 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, type, unit, ts
Sensor: snow_depth | fields: unit, lat, level, value
Task: Fetch value from wind_speed where value is greater than the average of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050283 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: unit, level, ts, qc
Sensor: lightning | fields: type, value, ts, unit
Task: Fetch reading from rainfall where depth is greater than the total of value in lightning for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050284 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, lon, reading, qc
Sensor: lightning | fields: type, level, lon, reading
Task: Fetch level from cloud_cover that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050285 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, unit, reading, lon
Sensor: snow_depth | fields: type, unit, qc, depth
Task: Get reading from humidity where reading exceeds the total depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050286 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: type, lon, unit, ts
Sensor: cloud_cover | fields: value, type, lon, level
Task: Retrieve value from visibility whose ts is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050287 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, value, unit, type
Sensor: soil_moisture | fields: depth, ts, value, lat
Task: Fetch depth from frost where depth is greater than the maximum of reading in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050288 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: reading, level, depth, lon
Sensor: sunlight | fields: type, unit, level, depth
Task: Get lon from frost where depth appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050289 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, qc, type, unit
Sensor: drought_index | fields: unit, lat, qc, value
Task: Get reading from snow_depth where value exceeds the total depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050290 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: unit, lon, reading, type
Sensor: dew_point | fields: lon, reading, ts, lat
Task: Get depth from air_quality where reading exceeds the minimum value from dew_point for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050291 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, qc, depth, reading
Sensor: air_quality | fields: lat, type, value, depth
Task: Retrieve value from snow_depth whose qc is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050292 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: value, lon, reading, depth
Sensor: cloud_cover | fields: depth, lat, reading, lon
Task: Get lat from evaporation where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050293 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lon, ts, type, reading
Sensor: lightning | fields: type, value, level, unit
Task: Get value from temperature where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050294 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, reading, lat, depth
Sensor: frost | fields: lat, type, unit, qc
Task: Fetch lat from evaporation where value is greater than the average of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050295 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, depth, type, ts
Sensor: uv_index | fields: type, qc, unit, lon
Task: Retrieve reading from soil_moisture whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050296 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: type, value, reading, ts
Sensor: visibility | fields: value, unit, lon, lat
Task: Get lat from drought_index where reading exceeds the average reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_050297 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: unit, type, depth, lon
Sensor: drought_index | fields: qc, lon, ts, type
Task: Retrieve reading from lightning that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050298 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: unit, lon, type, value
Sensor: pressure | fields: ts, lat, qc, type
Task: Fetch depth from uv_index that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_050299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.