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: frost | code: thr | fields: depth, lat, lon, reading
Sensor: turbidity | fields: ts, qc, unit, type
Task: Fetch reading from frost where depth is greater than the total of depth in turbidity for matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066400 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, ts, level, lon
Sensor: uv_index | fields: reading, value, depth, qc
Task: Retrieve value from air_quality that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066401 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, reading, level, depth
Sensor: air_quality | fields: ts, lon, unit, type
Task: Retrieve value from uv_index whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066402 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: value, level, depth, unit
Sensor: drought_index | fields: level, value, unit, depth
Task: Get level from frost where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066403 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lat, level, value, unit
Sensor: dew_point | fields: ts, qc, value, unit
Task: Get depth from turbidity where reading exceeds the total reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066404 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, reading, level, lon
Sensor: lightning | fields: reading, type, unit, depth
Task: Fetch depth from pressure where reading is greater than the average of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066405 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: level, lat, qc, reading
Sensor: rainfall | fields: ts, type, depth, lat
Task: Retrieve level from dew_point with reading above the COUNT(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066406 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: type, value, lat, qc
Sensor: dew_point | fields: type, level, reading, lon
Task: Get level from rainfall where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066407 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: unit, depth, lon, ts
Sensor: humidity | fields: level, depth, type, qc
Task: Fetch reading from temperature where depth is greater than the average of depth in humidity for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066408 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, lon, lat, qc
Sensor: rainfall | fields: lon, value, qc, reading
Task: Fetch level from dew_point that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066409 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lat, unit, ts, level
Sensor: rainfall | fields: reading, depth, value, level
Task: Fetch value from sunlight where value is greater than the count of of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066410 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: value, lon, type, unit
Sensor: uv_index | fields: type, unit, reading, lon
Task: Retrieve lon from wind_speed with depth above the MIN(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066411 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: ts, unit, lon, depth
Sensor: cloud_cover | fields: reading, type, unit, ts
Task: Retrieve level from pressure whose depth is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066412 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, reading, depth, unit
Sensor: temperature | fields: qc, level, reading, ts
Task: Get value from sunlight where depth exceeds the count of depth from temperature for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066413 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: value, level, depth, lon
Sensor: humidity | fields: reading, lon, qc, depth
Task: Fetch level from rainfall where ts exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066414 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, ts, qc, unit
Sensor: soil_moisture | fields: unit, lat, qc, ts
Task: Retrieve value from wind_speed whose ts is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066415 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, value, depth, lat
Sensor: frost | fields: depth, qc, type, ts
Task: Retrieve depth from wind_speed that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066416 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: reading, qc, ts, lat
Sensor: humidity | fields: lon, ts, reading, level
Task: Fetch lon from air_quality that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066417 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: level, lat, depth, ts
Sensor: soil_moisture | fields: qc, level, type, depth
Task: Fetch level from lightning where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066418 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, value, type, ts
Sensor: frost | fields: type, depth, reading, qc
Task: Get depth from turbidity where reading exceeds the total value from frost for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066419 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: qc, type, reading, depth
Sensor: wind_speed | fields: qc, type, unit, level
Task: Get depth from dew_point where depth exceeds the count of depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066420 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: ts, value, level, lon
Sensor: rainfall | fields: type, depth, ts, lon
Task: Fetch level from temperature where reading is greater than the total of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066421 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, ts, reading, depth
Sensor: snow_depth | fields: lat, reading, value, depth
Task: Get lat from lightning where ts appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066422 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, reading, level, depth
Sensor: visibility | fields: reading, ts, type, level
Task: Fetch level from soil_moisture that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066423 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: depth, reading, ts, unit
Sensor: frost | fields: lat, reading, type, level
Task: Retrieve depth from temperature whose qc is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066424 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: type, qc, lon, level
Sensor: humidity | fields: type, unit, qc, level
Task: Retrieve reading from pressure whose type is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066425 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: ts, depth, lon, qc
Sensor: wind_speed | fields: value, lon, reading, lat
Task: Fetch reading from humidity that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066426 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: type, ts, unit, qc
Sensor: drought_index | fields: depth, value, unit, lon
Task: Get depth from turbidity where value exceeds the average value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066427 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, type, depth, level
Sensor: lightning | fields: type, level, ts, qc
Task: Retrieve level from snow_depth that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066428 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lat, type, qc, depth
Sensor: uv_index | fields: value, level, unit, reading
Task: Retrieve depth from air_quality that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066429 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: value, lon, lat, type
Sensor: lightning | fields: qc, level, type, ts
Task: Fetch depth from temperature where ts exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066430 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: unit, reading, depth, qc
Sensor: uv_index | fields: reading, type, ts, lat
Task: Fetch depth from drought_index where type exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066431 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: ts, type, lon, unit
Sensor: air_quality | fields: ts, level, lon, lat
Task: Retrieve depth from uv_index that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066432 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lat, qc, value, level
Sensor: visibility | fields: value, unit, ts, reading
Task: Fetch depth from frost where reading is greater than the maximum of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066433 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lat, type, unit, depth
Sensor: drought_index | fields: ts, depth, lat, unit
Task: Get level from humidity where depth exceeds the minimum reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066434 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lon, unit, level, ts
Sensor: turbidity | fields: lat, qc, depth, unit
Task: Fetch lat from dew_point that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066435 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: reading, lon, qc, level
Sensor: rainfall | fields: value, lon, reading, lat
Task: Retrieve value from frost that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066436 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, unit, lon, lat
Sensor: drought_index | fields: unit, depth, type, qc
Task: Retrieve reading from cloud_cover that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066437 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lon, depth, ts, lat
Sensor: visibility | fields: value, unit, lat, depth
Task: Get depth from dew_point where depth exceeds the maximum reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066438 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lon, depth, lat, type
Sensor: snow_depth | fields: value, reading, type, depth
Task: Get level from turbidity where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066439 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lat, value, level, unit
Sensor: turbidity | fields: lon, lat, type, level
Task: Fetch depth from uv_index where value is greater than the minimum of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066440 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: level, depth, value, qc
Sensor: evaporation | fields: level, type, lat, qc
Task: Get lat from drought_index where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066441 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, value, depth, reading
Sensor: drought_index | fields: value, unit, level, type
Task: Get lon from frost where depth exceeds the minimum depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066442 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: reading, type, unit, ts
Sensor: pressure | fields: reading, unit, level, value
Task: Retrieve level from frost with depth above the MAX(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066443 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: reading, type, lon, ts
Sensor: snow_depth | fields: type, depth, ts, unit
Task: Get reading from turbidity where unit appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066444 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: lat, level, unit, reading
Sensor: snow_depth | fields: qc, unit, type, lon
Task: Retrieve lon from pressure that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066445 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: reading, type, unit, qc
Sensor: cloud_cover | fields: reading, lat, qc, depth
Task: Fetch value from pressure where value is greater than the total of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066446 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lat, qc, type, value
Sensor: lightning | fields: type, depth, ts, qc
Task: Get value from visibility where depth exceeds the count of value from lightning for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066447 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, level, value, unit
Sensor: rainfall | fields: depth, reading, level, type
Task: Get depth from snow_depth where reading exceeds the average reading from rainfall for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066448 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, reading, qc, unit
Sensor: drought_index | fields: qc, lat, lon, unit
Task: Fetch lat from wind_speed that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066449 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: reading, qc, value, ts
Sensor: lightning | fields: ts, value, lon, depth
Task: Get level from pressure where reading exceeds the count of reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066450 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: qc, lat, unit, type
Sensor: dew_point | fields: reading, qc, unit, level
Task: Retrieve value from turbidity whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066451 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: depth, level, qc, lat
Sensor: snow_depth | fields: type, qc, lat, unit
Task: Get lat from frost where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066452 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, type, unit, qc
Sensor: rainfall | fields: reading, depth, ts, lat
Task: Get value from sunlight where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066453 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: level, depth, lat, value
Sensor: uv_index | fields: level, reading, value, qc
Task: Fetch depth from turbidity where reading is greater than the average of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066454 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: type, lat, value, qc
Sensor: cloud_cover | fields: lat, level, value, ts
Task: Get value from dew_point where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066455 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, lat, qc, reading
Sensor: frost | fields: value, reading, type, ts
Task: Fetch level from cloud_cover where reading is greater than the maximum of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066456 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: depth, lon, qc, value
Sensor: humidity | fields: qc, level, lat, value
Task: Retrieve value from temperature with value above the SUM(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066457 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, qc, lat, unit
Sensor: rainfall | fields: level, lat, type, reading
Task: Get reading from drought_index where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066458 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, type, qc, lon
Sensor: snow_depth | fields: value, depth, type, reading
Task: Retrieve lat from turbidity with value above the MIN(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066459 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lat, qc, level, depth
Sensor: sunlight | fields: unit, type, level, lon
Task: Get level from lightning where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066460 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, qc, depth, level
Sensor: dew_point | fields: lat, qc, value, depth
Task: Retrieve lon from turbidity that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066461 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, depth, qc, lat
Sensor: drought_index | fields: value, depth, lon, qc
Task: Retrieve lat from air_quality that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066462 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lat, qc, level, lon
Sensor: air_quality | fields: lat, type, unit, ts
Task: Fetch value from pressure that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066463 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: qc, level, lat, depth
Sensor: temperature | fields: unit, ts, type, depth
Task: Fetch reading from sunlight where unit exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066464 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, level, qc, unit
Sensor: lightning | fields: lon, value, lat, type
Task: Get level from cloud_cover where value exceeds the maximum depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066465 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: type, depth, level, reading
Sensor: wind_speed | fields: lon, lat, unit, value
Task: Retrieve value from sunlight that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066466 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: qc, level, value, lon
Sensor: drought_index | fields: level, lon, ts, lat
Task: Retrieve value from humidity that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066467 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, type, lat, reading
Sensor: pressure | fields: value, reading, lon, qc
Task: Retrieve lat from visibility that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066468 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: value, lon, reading, level
Sensor: temperature | fields: type, qc, lat, depth
Task: Get depth from dew_point where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066469 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, lon, ts, depth
Sensor: rainfall | fields: value, depth, type, qc
Task: Retrieve value from evaporation whose qc is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066470 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, depth, qc, lat
Sensor: humidity | fields: lat, level, ts, depth
Task: Get lon from cloud_cover where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066471 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, reading, ts, value
Sensor: visibility | fields: depth, lat, ts, level
Task: Fetch reading from uv_index that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066472 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: reading, qc, lon, depth
Sensor: wind_speed | fields: reading, depth, level, qc
Task: Get depth from frost where reading exceeds the total value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066473 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lon, ts, reading, level
Sensor: humidity | fields: lon, level, unit, ts
Task: Get value from air_quality where type appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066474 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, lon, lat, qc
Sensor: drought_index | fields: ts, depth, unit, value
Task: Get level from cloud_cover where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066475 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: depth, unit, value, level
Sensor: turbidity | fields: depth, level, value, unit
Task: Fetch depth from frost where depth is greater than the average of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066476 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, lon, level, lat
Sensor: rainfall | fields: ts, level, depth, type
Task: Retrieve reading from uv_index with value above the MIN(value) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066477 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, ts, depth, level
Sensor: soil_moisture | fields: unit, ts, lon, lat
Task: Get lat from wind_speed where qc appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066478 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: reading, type, qc, depth
Sensor: wind_speed | fields: unit, ts, lon, type
Task: Fetch reading from dew_point where reading is greater than the total of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066479 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: depth, value, qc, ts
Sensor: humidity | fields: reading, lat, ts, value
Task: Fetch lon from sunlight where value is greater than the maximum of depth in humidity for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066480 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, lat, value, level
Sensor: drought_index | fields: ts, level, value, lat
Task: Retrieve value from snow_depth whose type is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066481 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: type, reading, lon, value
Sensor: drought_index | fields: lon, ts, type, level
Task: Retrieve level from rainfall whose depth is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066482 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, type, unit, qc
Sensor: rainfall | fields: reading, unit, lon, depth
Task: Retrieve lon from soil_moisture with value above the AVG(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066483 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, lat, level, reading
Sensor: evaporation | fields: type, unit, qc, value
Task: Get depth from visibility where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066484 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: reading, lon, type, level
Sensor: visibility | fields: type, ts, level, depth
Task: Fetch depth from turbidity that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066485 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, ts, unit, value
Sensor: temperature | fields: value, type, lat, depth
Task: Get depth from sunlight where depth appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066486 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: value, reading, type, unit
Sensor: rainfall | fields: type, unit, level, ts
Task: Retrieve depth from pressure whose type is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066487 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, reading, depth, lon
Sensor: dew_point | fields: value, reading, qc, lon
Task: Fetch level from humidity that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066488 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: value, unit, lon, level
Sensor: pressure | fields: qc, depth, type, reading
Task: Retrieve value from snow_depth whose ts is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066489 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: unit, reading, lat, lon
Sensor: frost | fields: unit, lon, level, type
Task: Retrieve depth from pressure that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066490 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, value, qc, lon
Sensor: frost | fields: value, lat, lon, level
Task: Fetch depth from visibility that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066491 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, unit, lat, ts
Sensor: drought_index | fields: type, ts, level, lat
Task: Retrieve reading from soil_moisture whose unit is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066492 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: level, lat, depth, unit
Sensor: drought_index | fields: level, unit, lat, reading
Task: Get lon from visibility where depth exceeds the average value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066493 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, reading, type, depth
Sensor: turbidity | fields: value, unit, reading, qc
Task: Retrieve lat from rainfall whose unit is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066494 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: type, unit, reading, level
Sensor: rainfall | fields: qc, lon, level, lat
Task: Get value from wind_speed where type appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066495 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, reading, depth, ts
Sensor: snow_depth | fields: type, level, unit, ts
Task: Retrieve lon from humidity with depth above the MAX(reading) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066496 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: type, depth, value, ts
Sensor: lightning | fields: value, ts, depth, reading
Task: Fetch level from visibility that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066497 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: ts, value, qc, type
Sensor: turbidity | fields: lon, type, unit, depth
Task: Retrieve lon from humidity whose ts is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066498 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, ts, unit, lon
Sensor: lightning | fields: reading, depth, qc, lat
Task: Get level from temperature where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.