variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, ts, level, qc
Sensor: visibility | fields: unit, depth, level, ts
Task: Fetch lon from soil_moisture where reading is greater than the minimum of reading in visibility for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073600 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, qc, value, reading
Sensor: snow_depth | fields: ts, lat, lon, value
Task: Get lat from turbidity where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073601 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, ts, unit, lon
Sensor: lightning | fields: unit, type, level, lat
Task: Fetch lat from rainfall that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073602 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: ts, depth, reading, qc
Sensor: evaporation | fields: reading, value, lat, depth
Task: Fetch depth from turbidity where type exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073603 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lat, level, lon, type
Sensor: temperature | fields: unit, level, ts, reading
Task: Retrieve level from uv_index that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073604 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: type, unit, value, qc
Sensor: humidity | fields: value, lat, qc, unit
Task: Get lon from temperature where value exceeds the maximum depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073605 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: reading, qc, depth, level
Sensor: temperature | fields: depth, value, type, lon
Task: Get value from rainfall where qc appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073606 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: type, ts, lat, level
Sensor: evaporation | fields: unit, level, type, ts
Task: Fetch value from rainfall where depth exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073607 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, unit, lat, reading
Sensor: soil_moisture | fields: unit, ts, value, lat
Task: Retrieve reading from uv_index that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073608 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: value, qc, ts, lon
Sensor: air_quality | fields: type, depth, reading, lon
Task: Get reading from evaporation where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073609 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: unit, ts, type, lon
Sensor: soil_moisture | fields: level, depth, ts, qc
Task: Retrieve lat from rainfall whose type is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073610 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, lat, value, level
Sensor: uv_index | fields: value, unit, lat, reading
Task: Get level from wind_speed where reading exceeds the count of reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073611 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, lon, value, qc
Sensor: dew_point | fields: unit, level, ts, reading
Task: Fetch value from snow_depth where depth is greater than the total of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073612 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lon, unit, depth, type
Sensor: air_quality | fields: level, ts, value, reading
Task: Fetch level from drought_index that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073613 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, reading, type, value
Sensor: evaporation | fields: depth, ts, unit, reading
Task: Fetch level from cloud_cover where reading is greater than the count of of depth in evaporation for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073614 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, ts, lon, value
Sensor: turbidity | fields: level, depth, ts, value
Task: Fetch level from soil_moisture where value is greater than the count of of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073615 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, reading, value, lat
Sensor: turbidity | fields: depth, level, lat, ts
Task: Get depth from cloud_cover where value exceeds the minimum reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073616 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, reading, lat, type
Sensor: uv_index | fields: ts, level, depth, qc
Task: Get reading from snow_depth where reading exceeds the total value from uv_index for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073617 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lat, depth, ts, level
Sensor: snow_depth | fields: unit, level, ts, lon
Task: Get lat from lightning where value exceeds the minimum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073618 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, value, ts, lon
Sensor: uv_index | fields: value, level, lat, qc
Task: Fetch lat from wind_speed where value is greater than the minimum of depth in uv_index for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073619 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: ts, level, lat, value
Sensor: lightning | fields: lon, level, type, lat
Task: Fetch value from uv_index where unit exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073620 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lon, level, depth, type
Sensor: snow_depth | fields: lon, depth, unit, lat
Task: Get depth from uv_index where depth exceeds the average value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073621 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, unit, depth, reading
Sensor: lightning | fields: unit, value, reading, lon
Task: Retrieve level from soil_moisture that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073622 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lon, type, reading, depth
Sensor: turbidity | fields: value, unit, reading, lat
Task: Fetch reading from dew_point that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073623 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: value, depth, lat, level
Sensor: evaporation | fields: lon, reading, lat, level
Task: Retrieve lon from wind_speed with depth above the COUNT(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073624 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: ts, reading, value, lat
Sensor: soil_moisture | fields: lat, level, lon, depth
Task: Get level from temperature where reading exceeds the maximum depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073625 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: depth, qc, reading, lat
Sensor: visibility | fields: lat, type, reading, value
Task: Retrieve reading from dew_point with reading above the SUM(depth) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073626 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: ts, lon, lat, depth
Sensor: cloud_cover | fields: reading, unit, qc, depth
Task: Get lat from visibility where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073627 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, lat, ts, unit
Sensor: dew_point | fields: lon, lat, type, value
Task: Fetch lon from temperature that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073628 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, lat, value, reading
Sensor: snow_depth | fields: lon, ts, qc, value
Task: Fetch lon from wind_speed that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073629 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lat, qc, depth, value
Sensor: drought_index | fields: level, value, lat, type
Task: Retrieve reading from pressure that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073630 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: type, qc, lon, level
Sensor: snow_depth | fields: qc, reading, lat, lon
Task: Retrieve value from pressure with reading above the COUNT(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073631 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: unit, ts, type, qc
Sensor: drought_index | fields: lat, value, reading, type
Task: Fetch value from lightning where reading is greater than the minimum of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073632 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, depth, qc, reading
Sensor: cloud_cover | fields: qc, level, lat, reading
Task: Get depth from sunlight where reading exceeds the count of reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"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_073633 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: depth, reading, type, qc
Sensor: evaporation | fields: lat, level, lon, depth
Task: Get lon from uv_index where depth exceeds the count of depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073634 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: type, ts, lon, lat
Sensor: humidity | fields: level, lon, type, ts
Task: Get lat from frost where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073635 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: value, lat, ts, qc
Sensor: drought_index | fields: ts, qc, type, lon
Task: Get value from humidity where qc appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073636 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: level, reading, qc, ts
Sensor: cloud_cover | fields: unit, type, lon, lat
Task: Retrieve lon from lightning whose unit is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073637 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: level, lat, depth, ts
Sensor: air_quality | fields: lat, depth, qc, lon
Task: Retrieve lon from lightning that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073638 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: type, qc, ts, value
Sensor: rainfall | fields: level, lat, ts, depth
Task: Get lon from dew_point where ts appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073639 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: depth, value, unit, level
Sensor: turbidity | fields: lon, lat, reading, value
Task: Fetch reading from rainfall where reading is greater than the count of of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073640 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, lon, unit, reading
Sensor: dew_point | fields: level, qc, ts, lon
Task: Get level from sunlight where depth exceeds the total depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073641 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: value, lat, unit, qc
Sensor: drought_index | fields: qc, value, depth, reading
Task: Get lon from dew_point where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073642 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, type, unit, depth
Sensor: wind_speed | fields: type, lon, ts, qc
Task: Get depth from cloud_cover where reading exceeds the minimum value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073643 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: level, depth, lat, value
Sensor: snow_depth | fields: depth, qc, type, lon
Task: Get lon from turbidity where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073644 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, ts, reading, depth
Sensor: frost | fields: value, qc, ts, type
Task: Retrieve reading from snow_depth that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073645 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, ts, depth, unit
Sensor: evaporation | fields: lon, level, value, depth
Task: Get lon from temperature where depth exceeds the average value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073646 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: depth, level, lat, ts
Sensor: turbidity | fields: ts, qc, type, level
Task: Retrieve reading from frost that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073647 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, value, qc, lat
Sensor: pressure | fields: lon, ts, unit, lat
Task: Get level from frost where depth exceeds the count of depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073648 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, type, level, depth
Sensor: rainfall | fields: lon, level, lat, value
Task: Retrieve reading from soil_moisture whose ts is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073649 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, level, type, unit
Sensor: rainfall | fields: lat, ts, qc, value
Task: Fetch depth from wind_speed where qc exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073650 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, depth, value, ts
Sensor: temperature | fields: value, type, level, lon
Task: Retrieve value from wind_speed whose depth is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073651 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: reading, value, lat, unit
Sensor: air_quality | fields: lat, reading, value, type
Task: Fetch level from dew_point where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073652 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: depth, unit, level, lon
Sensor: sunlight | fields: lon, qc, depth, value
Task: Retrieve lon from rainfall that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073653 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, level, depth, ts
Sensor: lightning | fields: unit, ts, type, value
Task: Get level from temperature where value exceeds the total depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073654 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: reading, ts, value, level
Sensor: snow_depth | fields: value, depth, qc, unit
Task: Get level from humidity where value exceeds the average depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073655 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lat, depth, type, ts
Sensor: turbidity | fields: lat, ts, qc, value
Task: Get lat from frost where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073656 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: ts, unit, lon, depth
Sensor: turbidity | fields: value, level, lon, qc
Task: Retrieve value from rainfall whose unit is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073657 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lon, lat, depth, type
Sensor: cloud_cover | fields: unit, qc, lon, type
Task: Fetch value from humidity where value is greater than the average of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073658 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lat, level, depth, unit
Sensor: pressure | fields: lon, level, reading, value
Task: Get value from turbidity where type appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073659 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, reading, lat, lon
Sensor: drought_index | fields: type, qc, lat, depth
Task: Fetch lon from temperature that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073660 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: reading, type, qc, lat
Sensor: rainfall | fields: type, depth, value, level
Task: Fetch lon from uv_index where ts exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073661 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, lon, depth, type
Sensor: dew_point | fields: unit, reading, ts, type
Task: Get value from air_quality where reading exceeds the minimum value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073662 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, ts, lat, level
Sensor: humidity | fields: depth, unit, ts, level
Task: Fetch value from air_quality where unit exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073663 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, value, lon, type
Sensor: cloud_cover | fields: lon, unit, value, reading
Task: Fetch value from temperature that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073664 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lon, value, lat, type
Sensor: turbidity | fields: unit, lon, depth, lat
Task: Fetch lat from air_quality where value is greater than the total of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073665 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: ts, lon, type, unit
Sensor: frost | fields: value, unit, ts, type
Task: Fetch depth from drought_index where ts exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073666 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, depth, level, ts
Sensor: rainfall | fields: reading, type, qc, ts
Task: Get lat from soil_moisture where reading exceeds the average reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073667 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: depth, type, value, unit
Sensor: rainfall | fields: unit, level, depth, lat
Task: Get lat from humidity where type appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073668 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: level, ts, type, reading
Sensor: wind_speed | fields: level, reading, lat, lon
Task: Retrieve lon from rainfall whose unit is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073669 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, unit, lon, ts
Sensor: air_quality | fields: depth, lat, reading, ts
Task: Get lat from soil_moisture where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073670 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: level, reading, lat, ts
Sensor: evaporation | fields: lon, value, reading, depth
Task: Retrieve lat from visibility whose type is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073671 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: qc, level, type, value
Sensor: visibility | fields: ts, reading, value, level
Task: Get value from dew_point where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073672 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: qc, ts, reading, unit
Sensor: cloud_cover | fields: reading, type, ts, value
Task: Fetch level from lightning that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073673 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lon, lat, reading, level
Sensor: air_quality | fields: ts, unit, reading, value
Task: Get depth from pressure where qc appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073674 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, depth, value, lon
Sensor: evaporation | fields: level, reading, qc, lat
Task: Retrieve lon from soil_moisture whose depth is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073675 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, reading, type, lon
Sensor: sunlight | fields: type, reading, value, ts
Task: Fetch level from air_quality where depth is greater than the count of of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073676 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: reading, ts, value, unit
Sensor: air_quality | fields: lat, type, level, ts
Task: Fetch depth from humidity where depth is greater than the minimum of depth in air_quality for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073677 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: depth, ts, type, value
Sensor: drought_index | fields: lon, reading, qc, level
Task: Get lon from evaporation where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073678 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, type, ts, reading
Sensor: drought_index | fields: depth, level, ts, lat
Task: Get lon from pressure where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073679 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lat, type, ts, value
Sensor: rainfall | fields: depth, value, qc, lat
Task: Retrieve level from humidity with reading above the MAX(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073680 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, value, qc, type
Sensor: snow_depth | fields: reading, level, depth, qc
Task: Retrieve lat from uv_index with depth above the MIN(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073681 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, lat, type, qc
Sensor: visibility | fields: ts, unit, reading, depth
Task: Fetch level from cloud_cover where unit exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073682 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: qc, reading, value, lon
Sensor: evaporation | fields: lat, lon, level, reading
Task: Get value from turbidity where reading exceeds the total reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073683 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, type, level, value
Sensor: drought_index | fields: type, ts, depth, reading
Task: Retrieve lat from wind_speed that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073684 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: depth, lat, reading, ts
Sensor: pressure | fields: unit, type, lon, level
Task: Retrieve level from air_quality whose qc is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073685 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, qc, unit, depth
Sensor: cloud_cover | fields: qc, lon, level, type
Task: Get lon from uv_index where value exceeds the maximum depth from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073686 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: reading, value, lat, lon
Sensor: drought_index | fields: type, unit, value, reading
Task: Get level from frost where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073687 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, value, reading, depth
Sensor: evaporation | fields: lon, lat, value, depth
Task: Get value from wind_speed where depth exceeds the maximum depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073688 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, value, depth, qc
Sensor: dew_point | fields: level, qc, reading, depth
Task: Retrieve reading from cloud_cover with depth above the AVG(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073689 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, type, reading, lat
Sensor: soil_moisture | fields: unit, reading, lon, type
Task: Fetch reading from cloud_cover that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073690 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: qc, lon, ts, lat
Sensor: temperature | fields: reading, unit, lon, ts
Task: Retrieve level from drought_index with reading above the SUM(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073691 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: unit, ts, level, value
Sensor: soil_moisture | fields: qc, lat, reading, unit
Task: Retrieve value from turbidity whose unit is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073692 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: lon, reading, value, type
Sensor: temperature | fields: lat, ts, qc, reading
Task: Fetch value from uv_index where qc exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073693 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, type, lat, depth
Sensor: visibility | fields: depth, lon, qc, value
Task: Retrieve level from pressure with depth above the AVG(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073694 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: unit, depth, value, qc
Sensor: dew_point | fields: unit, value, ts, lat
Task: Retrieve level from drought_index that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073695 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lon, lat, unit, level
Sensor: uv_index | fields: lat, type, reading, level
Task: Retrieve value from lightning whose depth is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073696 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: type, lat, unit, level
Sensor: air_quality | fields: type, reading, level, ts
Task: Retrieve level from rainfall with value above the COUNT(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073697 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: value, unit, depth, qc
Sensor: pressure | fields: depth, level, unit, reading
Task: Fetch level from uv_index where depth exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073698 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: ts, level, reading, unit
Sensor: lightning | fields: value, lat, unit, reading
Task: Get depth from uv_index where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.